POST
/
inventory-networks
/
actions
/
soft-release
curl --request POST \
  --url https://api.fabric.inc/v3/inventory-networks/actions/soft-release \
  --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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

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
string
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.

x-fabric-request-id
string

Unique request ID

Body

application/json

SoftReserveRequest model

items
object[]
required

Items which needs to be reserved. Required parameter

cartId
string

CartId for which soft reserve requested, at least one of orderNumber or cartId or OrderId is required

Example:

"b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569"

createdAt
string

Date when soft reservation was created

Example:

"2022-08-01T18:03:28.483971941Z"

expiresAt
string

Date when soft reservation will expire

Example:

"2022-08-01T18:03:28.483971941Z"

id
string

ID

Example:

"\"Infinity\""

networkCode
string

Network for which items needs to be reserved. Optional parameter

Example:

"DCOnly"

orderId
string

Order ID for which soft reserve requested, at least one of orderNumber or cartId or OrderId is required

Example:

"62ab7af89ed14510827fe074"

orderNumber
string
deprecated

OrderNumber for which soft reserve requested, at least one of orderNumber or cartId or OrderId is required

Example:

"order_20220729_883"

orderType
string

Order type, default value is STANDARD. Optional parameter

Example:

"['STANDARD','CSR']"

updatedAt
string

Date when soft reservation was updated

Example:

"2022-08-01T18:03:28.483971941Z"

vendorId
string

VendorId for which soft reserve requested. Optional parameter

Example:

"test_vendor"

Response

200
application/json
OK

AggregatedNetworksResponse model

aggregatedNetworks
object[]

Aggregated networks

Displays an aggregate representation of the SKU that includes all locations for which the sku is available in that network.