Order User Guides
- Overview
- Order Management
- Order Fulfillment Logic
- Activity Log
- Settings
Inventory User Guides
- Overview
- Inventory
- Locations
- Networks
- Activity Log
Orders API Endpoints
- Orders (3.0.0)
- Developer Guide
- Orders FAQ
- Shopping Lists
- Shipping Methods
- Imports
- Exports
- Orders
- Frauds
- Notifications
- Backorders Preorders
- Cancellations
- Allocations
- Shipments
- Inventory Transfers
- Tracking
- Invoices
- Payments
- Credits
- Appeasements
- Returns
Inventory API Endpoints
Networks
Soft reservation
Soft reserve quantity.
POST
/
inventory-networks
/
actions
/
soft-reserve
curl --request POST \
--url https://api.fabric.inc/v3/inventory-networks/actions/soft-reserve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-fabric-channel-id: <x-fabric-channel-id>' \
--header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \
--data '{
"cartId": "b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569",
"createdAt": "2022-08-01T18:03:28.483971941Z",
"expiresAt": "2022-08-01T18:03:28.483971941Z",
"id": "\"Infinity\"",
"items": [
{
"backorderQuantity": 5,
"channelId": "3",
"errorMessage": "<string>",
"itemId": "451008962041",
"lineItemId": "2",
"locationNumber": 999,
"networkCode": "ShipToHome",
"preorderQuantity": 5,
"quantity": 5,
"reservedNetworkCodes": [
"<string>"
],
"sku": "OMSTESTSKU1",
"status": "<string>",
"type": "['\''STANDARD'\'','\''PREORDER'\'','\''BACKORDER'\'']"
}
],
"networkCode": "DCOnly",
"orderId": "62ab7af89ed14510827fe074",
"orderNumber": "order_20220729_883",
"orderType": "['\''STANDARD'\'','\''CSR'\'']",
"updatedAt": "2022-08-01T18:03:28.483971941Z",
"vendorId": "test_vendor"
}'
{
"aggregatedNetworks": [
{
"backorderLimit": 50,
"backorderShipmentAt": "2022-08-01T20:03:28.483Z",
"channelId": "channel_xyz",
"counters": {
"allocated": 10,
"onHand": 100,
"shipped": 20
},
"createdAt": "2022-08-01T18:03:28.483Z",
"customAttributes": {
"isBopis": true
},
"hasInfiniteInventory": false,
"inventoryId": "723910d81723",
"isNoStock": false,
"itemId": 12345,
"leadTime": "5 days",
"locationNumber": 12345,
"lowStock": 10,
"networkCode": "ShipToHome",
"networkCounters": {
"softReserve": 10
},
"preorderLimit": 40,
"preorderShipmentAt": "2022-08-01T20:03:28.483Z",
"region": "North America",
"safetyStock": 10,
"segment": "Sample Segment",
"sku": "SKU1",
"status": " IN_STOCK",
"type": "primary",
"updatedAt": "2022-08-01T20:03:28.483Z",
"vendorId": "vendor1",
"virtualCounters": {
"availableBackorder": "<string>",
"availablePreorder": "<string>",
"availableToPurchase": "<string>"
},
"virtualCountersStatus": {
"availableBackorder": "<string>",
"availablePreorder": "<string>",
"availableToPurchase": "<string>"
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Body
application/json
SoftReserveRequest model
Response
201
application/json
Created
AggregatedNetworksResponse model
Was this page helpful?
curl --request POST \
--url https://api.fabric.inc/v3/inventory-networks/actions/soft-reserve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-fabric-channel-id: <x-fabric-channel-id>' \
--header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \
--data '{
"cartId": "b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569",
"createdAt": "2022-08-01T18:03:28.483971941Z",
"expiresAt": "2022-08-01T18:03:28.483971941Z",
"id": "\"Infinity\"",
"items": [
{
"backorderQuantity": 5,
"channelId": "3",
"errorMessage": "<string>",
"itemId": "451008962041",
"lineItemId": "2",
"locationNumber": 999,
"networkCode": "ShipToHome",
"preorderQuantity": 5,
"quantity": 5,
"reservedNetworkCodes": [
"<string>"
],
"sku": "OMSTESTSKU1",
"status": "<string>",
"type": "['\''STANDARD'\'','\''PREORDER'\'','\''BACKORDER'\'']"
}
],
"networkCode": "DCOnly",
"orderId": "62ab7af89ed14510827fe074",
"orderNumber": "order_20220729_883",
"orderType": "['\''STANDARD'\'','\''CSR'\'']",
"updatedAt": "2022-08-01T18:03:28.483971941Z",
"vendorId": "test_vendor"
}'
{
"aggregatedNetworks": [
{
"backorderLimit": 50,
"backorderShipmentAt": "2022-08-01T20:03:28.483Z",
"channelId": "channel_xyz",
"counters": {
"allocated": 10,
"onHand": 100,
"shipped": 20
},
"createdAt": "2022-08-01T18:03:28.483Z",
"customAttributes": {
"isBopis": true
},
"hasInfiniteInventory": false,
"inventoryId": "723910d81723",
"isNoStock": false,
"itemId": 12345,
"leadTime": "5 days",
"locationNumber": 12345,
"lowStock": 10,
"networkCode": "ShipToHome",
"networkCounters": {
"softReserve": 10
},
"preorderLimit": 40,
"preorderShipmentAt": "2022-08-01T20:03:28.483Z",
"region": "North America",
"safetyStock": 10,
"segment": "Sample Segment",
"sku": "SKU1",
"status": " IN_STOCK",
"type": "primary",
"updatedAt": "2022-08-01T20:03:28.483Z",
"vendorId": "vendor1",
"virtualCounters": {
"availableBackorder": "<string>",
"availablePreorder": "<string>",
"availableToPurchase": "<string>"
},
"virtualCountersStatus": {
"availableBackorder": "<string>",
"availablePreorder": "<string>",
"availableToPurchase": "<string>"
}
}
]
}