POST /inventory-import-fields.json
Body Required
-
Inventory import
-
Name
-
priceListId integer(int32) | null
Price list
-
Purpose
Values are
automaticallyBackorder
,backorderQuantity
,barcode
,compareAtPrice
,costPrice
,denyThreshold
,grams
,inventoryPolicy
,inventoryQuantity
,price
,sku
, orvendorSku
.
POST /inventory-import-fields.json
curl \
-X POST http://api.example.com/v1/inventory-import-fields.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inventoryImportId":42,"name":"string","priceListId":42,"purpose":"automaticallyBackorder"}'
Request example
{
"inventoryImportId": 42,
"name": "string",
"priceListId": 42,
"purpose": "automaticallyBackorder"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"inventoryImportId": 42,
"name": "string",
"priceListId": 42,
"purpose": "automaticallyBackorder",
"updatedAt": "2024-05-04T09:42:00+00:00"
}