POST
/
inventory-networks

Authorizations

Authorization
string
headerrequired

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

Headers

x-fabric-tenant-id
string
required

Merchant's 24-character tenant ID

x-fabric-channel-id
string
required

A single sales channel ID.

x-fabric-request-id
string

Unique request ID

Body

application/json

Sample request to create network

code
string
required

Unique network code

description
string

Network description

lowStock
integer

Inventory quantity below which consumer service wants to be alerted as low stock at the network

name
string
required

Network name

networkId
string

A fabric system-generated unique ID that is auto generated once the network is created successfully.

rule
object
required

Rule by which a network will be created with the group of inventories

safetyStock
integer

Safety stock count. The reserve quantity of an item kept to fulfill an emergency requirement, in case of damage to the product that is set for sale.

Response

201 - application/json

Network response details

code
string
required

Unique network code

createdAt
string

Time network was configured

description
string

Network description

lowStock
integer

Inventory quantity below which consumer service wants to be alerted as low stock at the network

name
string
required

Network name

networkId
string

A fabric system-generated unique ID that is auto generated once the network is created successfully.

rule
object
required

Rule by which a network will be created with the group of inventories

safetyStock
integer

Safety stock count. The reserve quantity of an item kept to fulfill an emergency requirement, in case of damage to the product that is set for sale.

updatedAt
string

Time network was last updated