To create a channel, send a POST request to the following endpoint with a JSON body:
POST https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/availabilitychannels
{"name":"CHANNEL_NAME","strategy":"REGULAR"}
Depending on the priority of the sales channel, different strategies can be defined for stock reduction. For more information, refer to "Products – Channel inventory".
A successful request returns a 200 CREATED response with a body similar to the following example:
Each allocation must belong to a group. Groups organize allocations in facilities for a specific article and channel.
To create a channel allocation group, send a POST request to the following endpoint with a JSON body:
A successful request returns a 200 CREATED response with a body similar to the following example:
Create a channel allocation under a group
The core functionality of channels is implemented through availabilityAllocation entities. These entities link channels to specific products, identified by tenantArticleIds, and assign a predetermined quantity of stock to each channel.
To create a channel allocation, send a POST request to the following endpoint with a JSON body:
A successful request returns a 200 CREATED response with a body similar to the following example: