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