{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses order_amount_promotion_rules API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "order_amount_promotion_rules", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the order amount promotion rule associated to the buy x pay y promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/buy_x_pay_y_promotions/:buyXPayYPromotionId/order_amount_promotion_rule", "params": [ { "name": "buyXPayYPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the buy x pay y promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the external promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/external_promotions/:externalPromotionId/order_amount_promotion_rule", "params": [ { "name": "externalPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the external promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the fixed amount promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_amount_promotions/:fixedAmountPromotionId/order_amount_promotion_rule", "params": [ { "name": "fixedAmountPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the fixed amount promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the fixed price promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_price_promotions/:fixedPricePromotionId/order_amount_promotion_rule", "params": [ { "name": "fixedPricePromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the fixed price promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the free gift promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/free_gift_promotions/:freeGiftPromotionId/order_amount_promotion_rule", "params": [ { "name": "freeGiftPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the free gift promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the free shipping promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/free_shipping_promotions/:freeShippingPromotionId/order_amount_promotion_rule", "params": [ { "name": "freeShippingPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the free shipping promotion" }, { "info": { "name": "List all order amount promotion rules", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_amount_promotion_rules" }, "docs": "List all order amount promotion rules" }, { "info": { "name": "Create an order amount promotion rule", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/order_amount_promotion_rules", "body": { "type": "json", "data": "{}" } }, "docs": "Create an order amount promotion rule" }, { "info": { "name": "Retrieve an order amount promotion rule", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_amount_promotion_rules/:orderAmountPromotionRuleId", "params": [ { "name": "orderAmountPromotionRuleId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve an order amount promotion rule" }, { "info": { "name": "Update an order amount promotion rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/order_amount_promotion_rules/:orderAmountPromotionRuleId", "params": [ { "name": "orderAmountPromotionRuleId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an order amount promotion rule" }, { "info": { "name": "Delete an order amount promotion rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/order_amount_promotion_rules/:orderAmountPromotionRuleId", "params": [ { "name": "orderAmountPromotionRuleId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete an order amount promotion rule" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the percentage discount promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/percentage_discount_promotions/:percentageDiscountPromotionId/order_amount_promotion_rule", "params": [ { "name": "percentageDiscountPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the percentage discount promotion" }, { "info": { "name": "Retrieve the order amount promotion rule associated to the promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/promotions/:promotionId/order_amount_promotion_rule", "params": [ { "name": "promotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order amount promotion rule associated to the promotion" } ] } ], "bundled": true }