{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Cart Fees API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Cart Fees", "type": "folder" }, "items": [ { "info": { "name": "Create Fee", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/carts/:cartId/fees", "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" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a fee that is applied to the corresponding cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n" }, { "info": { "name": "Update Fee", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.fabric.inc/v3/carts/:cartId/fees/:feeId", "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" }, { "name": "feeId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a fee in the cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n\nThe Fee ID from the [Create fee](/v3/cart-and-checkout/api-reference/carts-v3/fees/delete-fees) endpoint is used in the path parameter.\n" }, { "info": { "name": "Delete Fee", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fabric.inc/v3/carts/:cartId/fees/:feeId", "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" }, { "name": "feeId", "value": "", "type": "path" } ] }, "docs": "Removes a fee from the cart.\n\nThe Cart ID from the [Create cart](/v3/cart-and-checkout/api-reference/carts-v3/carts/carts) endpoint is used in the path parameter.\n\nThe Fee ID from the [Create fee](/v3/cart-and-checkout/api-reference/carts-v3/fees/delete-fees) endpoint is used in the path parameter.\n" } ] } ], "bundled": true }