POST /data-imports.json
Body Required
-
Added
Default value is
0
. -
adminNotes string | null
Admin notes
-
completedAt string(date-time) | null
Completed at
-
dropshipProviderId integer(int32) | null
Dropship provider
-
Error messages
Default value is
[]
(empty). -
errorUri string | null
Error uri
-
Errors
Default value is
0
. -
fileSize string | null
File size
-
fileUri string | null
File uri
-
importType string | null
Import type
Values are
adjustment_import
,cost_prices
,dropship_provider_users
,dropship_providers
,hs_code
,inventory_feed_mapping
,inventory_feed_prices
,inventory_feed
,sales
,stock_take
,tracking_import
,vendor_mappings
, orwarehouse_location_import
. -
intercomMessageId string | null
Intercom message
-
inventoryFeedId integer(int32) | null
Inventory feed
-
Mute error
Default value is
false
. -
priceListId integer(int32) | null
Price list
-
queueName string | null
Queue name
-
queuedAt string(date-time) | null
Queued at
-
Read
Default value is
false
. -
Skipped
Default value is
0
. -
skippedUri string | null
Skipped uri
-
startedAt string(date-time) | null
Started at
-
status string | null
Status
Values are
pending
,started
,complete
,error
, orskipped
. -
statusMessage string | null
Status message
statusProblem object | null | array | boolean | integer | number | string
-
stockTakeId integer(int32) | null
Stock take
-
Updated
Default value is
0
.
POST /data-imports.json
curl \
-X POST http://api.example.com/v1/data-imports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"added":0,"adminNotes":"string","completedAt":"2024-05-04T09:42:00+00:00","dropshipProviderId":42,"errorMessages":[],"errorUri":"string","errors":0,"fileSize":"string","fileUri":"string","importType":"adjustment_import","intercomMessageId":"string","inventoryFeedId":42,"muteError":false,"priceListId":42,"queueName":"string","queuedAt":"2024-05-04T09:42:00+00:00","read":false,"skipped":0,"skippedUri":"string","startedAt":"2024-05-04T09:42:00+00:00","status":"pending","statusMessage":"string","statusProblem":{},"stockTakeId":42,"updated":0}'
Request example
{
"added": 0,
"adminNotes": "string",
"completedAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"errorMessages": [],
"errorUri": "string",
"errors": 0,
"fileSize": "string",
"fileUri": "string",
"importType": "adjustment_import",
"intercomMessageId": "string",
"inventoryFeedId": 42,
"muteError": false,
"priceListId": 42,
"queueName": "string",
"queuedAt": "2024-05-04T09:42:00+00:00",
"read": false,
"skipped": 0,
"skippedUri": "string",
"startedAt": "2024-05-04T09:42:00+00:00",
"status": "pending",
"statusMessage": "string",
"statusProblem": {},
"stockTakeId": 42,
"updated": 0
}
Response examples (200)
{
"added": 0,
"adminNotes": "string",
"completedAt": "2024-05-04T09:42:00+00:00",
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"errorMessages": [],
"errorUri": "string",
"errors": 0,
"fileSize": "string",
"fileUri": "string",
"id": 42,
"importType": "adjustment_import",
"intercomMessageId": "string",
"inventoryFeedId": 42,
"muteError": false,
"priceListId": 42,
"queueName": "string",
"queuedAt": "2024-05-04T09:42:00+00:00",
"read": false,
"skipped": 0,
"skippedUri": "string",
"startedAt": "2024-05-04T09:42:00+00:00",
"status": "pending",
"statusMessage": "string",
"statusProblem": {},
"stockTakeId": 42,
"updated": 0,
"updatedAt": "2024-05-04T09:42:00+00:00"
}