{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses order_subscriptions API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "order_subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the order subscriptions associated to the customer", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/order_subscriptions", "params": [ { "name": "customerId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscriptions associated to the customer" }, { "info": { "name": "Retrieve the order subscription associated to the order copy", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_copies/:orderCopyId/order_subscription", "params": [ { "name": "orderCopyId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscription associated to the order copy" }, { "info": { "name": "Retrieve the order subscription associated to the order subscription item", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscription_items/:orderSubscriptionItemId/order_subscription", "params": [ { "name": "orderSubscriptionItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscription associated to the order subscription item" }, { "info": { "name": "List all order subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions" }, "docs": "List all order subscriptions" }, { "info": { "name": "Create an order subscription", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Create an order subscription" }, { "info": { "name": "Retrieve an order subscription", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId", "params": [ { "name": "orderSubscriptionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve an order subscription" }, { "info": { "name": "Update an order subscription", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId", "params": [ { "name": "orderSubscriptionId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an order subscription" }, { "info": { "name": "Delete an order subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId", "params": [ { "name": "orderSubscriptionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete an order subscription" }, { "info": { "name": "Retrieve the order subscription associated to the order", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/order_subscription", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscription associated to the order" }, { "info": { "name": "Retrieve the order subscriptions associated to the order", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/order_subscriptions", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscriptions associated to the order" }, { "info": { "name": "Retrieve the order subscription associated to the recurring order copy", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/recurring_order_copies/:recurringOrderCopyId/order_subscription", "params": [ { "name": "recurringOrderCopyId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscription associated to the recurring order copy" }, { "info": { "name": "Retrieve the order subscriptions associated to the subscription model", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/subscription_models/:subscriptionModelId/order_subscriptions", "params": [ { "name": "subscriptionModelId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the order subscriptions associated to the subscription model" } ] } ], "bundled": true }