Import inventory data
Import inventory data by specifying file name. Successfully uploading the file triggers the import process, which is an event-driven extraction of the file’s data to update the respective resource’s system.
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.
Unique request ID
x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13.
Body
An object containing the inventory import request details.
Uploaded file name
INVENTORY
, INVENTORY_COUNTERS
Response
An object containing the inventory import response details.
Time of import request
Imported file's unique ID
Uploaded file's path (including security token) generated by the system and returned in the response of the Create import request
endpoint.
A custom attribute placeholder.
Uploaded file name
Uploaded file's current status
INITIATED
, PROCESSING
, COMPLETED
, SYSTEM_ERROR
Import file type
INVENTORY
, INVENTORY_COUNTERS
Date and time record was last modified
Was this page helpful?