{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Carts API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Carts", "type": "folder" }, "items": [ { "info": { "name": "Get the Cart", "type": "http" }, "http": { "method": "GET", "url": "https://api.fabric.inc/v3/orchestrator/carts/:cartId", "headers": [ { "name": "x-fabric-tenant-id", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "params": [ { "name": "cartId", "value": "", "type": "path", "description": "The 24-character system-generated Cart ID. This ID is generated using the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint." } ] }, "docs": "Retrieves the cart information corresponding to the provided cart ID.\n\nThe Cart ID from the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n" }, { "info": { "name": "Delete Cart", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fabric.inc/v3/orchestrator/carts/:cartId", "headers": [ { "name": "x-fabric-tenant-id", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "params": [ { "name": "cartId", "value": "", "type": "path", "description": "The 24-character system-generated Cart ID. This ID is generated using the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint." } ] }, "docs": "Removes the cart corresponding to the provided cart ID.\n\nThe Cart ID from the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n" }, { "info": { "name": "Apply Coupon", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/orchestrator/carts/:cartId/coupons/:couponCode", "headers": [ { "name": "x-fabric-tenant-id", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "params": [ { "name": "cartId", "value": "", "type": "path", "description": "The 24-character system-generated Cart ID. This ID is generated using the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint." }, { "name": "couponCode", "value": "", "type": "path", "description": "The coupon code generated when [creating a custom coupon](/v3/offers/user-guides/offers/coupons/overview) in Copilot." } ] }, "docs": "Apply a coupon code to the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n\nThe coupon code generated when [creating a custom coupon](/v3/api-reference/carts-v3/carts-adjustments/create-adjustments) in Copilot is used in the path parameter.\n" }, { "info": { "name": "Removes Coupon", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fabric.inc/v3/orchestrator/carts/:cartId/coupons/:couponCode", "headers": [ { "name": "x-fabric-tenant-id", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "params": [ { "name": "cartId", "value": "", "type": "path", "description": "The 24-character system-generated Cart ID. This ID is generated using the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint." }, { "name": "couponCode", "value": "", "type": "path", "description": "The coupon code generated when [creating a custom coupon](/v3/offers/user-guides/offers/coupons/overview) in Copilot." } ] }, "docs": "Removes the coupon from the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n" } ] } ], "bundled": true }