POST /inventory-imports.json
Body Required
-
adjustmentReasonId integer(int32) | null
Adjustment reason
-
Archive reason
Values are
subscription
orother
. Default value isother
. -
caseInsensitiveSkus boolean | null
Case insensitive skus
-
Enabled
Default value is
true
. -
File uri
-
Import schedule
Values are
daily
,hourly
, ormanual
. Default value ismanual
. -
lastImportedAt string(date-time) | null
Last imported at
-
lastImportedUri string | null
Last imported uri
-
Name
-
Warehouse
POST /inventory-imports.json
curl \
-X POST http://api.example.com/v1/inventory-imports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"adjustmentReasonId":42,"archiveReason":"other","caseInsensitiveSkus":true,"enabled":true,"fileUri":"string","importSchedule":"manual","lastImportedAt":"2024-05-04T09:42:00+00:00","lastImportedUri":"string","name":"string","warehouseId":42}'
Request example
{
"adjustmentReasonId": 42,
"archiveReason": "other",
"caseInsensitiveSkus": true,
"enabled": true,
"fileUri": "string",
"importSchedule": "manual",
"lastImportedAt": "2024-05-04T09:42:00+00:00",
"lastImportedUri": "string",
"name": "string",
"warehouseId": 42
}
Response examples (200)
{
"adjustmentReasonId": 42,
"archiveReason": "other",
"caseInsensitiveSkus": true,
"createdAt": "2024-05-04T09:42:00+00:00",
"enabled": true,
"fileUri": "string",
"id": 42,
"importSchedule": "manual",
"lastImportedAt": "2024-05-04T09:42:00+00:00",
"lastImportedUri": "string",
"name": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"warehouseId": 42
}