{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Item Adjustments API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Item Adjustments", "type": "folder" }, "items": [ { "info": { "name": "Create Item Adjustment", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/carts/:cartId/items/:itemId/adjustments", "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 an adjustment for the item 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 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 Adjustment", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.fabric.inc/v3/carts/:cartId/items/:itemId/adjustments/:adjustmentId", "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": "adjustmentId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the adjustment to the item associated with 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\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 Adjustment ID from the [Create item adjustment](/v3/cart-and-checkout/api-reference/carts-v3/item-adjustments/create-item-adjustments) endpoint is used " }, { "info": { "name": "Delete Item Adjustment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fabric.inc/v3/carts/:cartId/items/:itemId/adjustments/:adjustmentId", "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": "adjustmentId", "value": "", "type": "path" } ] }, "docs": "Deletes the adjustment from the item associated with 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\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 Adjustment ID from the [Create item adjustment](/v3/cart-and-checkout/api-reference/carts-v3/item-adjustments/create-item-adjustments) endpoint is use" } ] } ], "bundled": true }