Body
Required
-
inventoryFeedId
integer(int32) Required Inventory feed
-
inventoryQuantityBoolean
string | null Inventory quantity boolean
-
inventoryQuantityDefault
integer(int32) | null Inventory quantity default
-
object
string Required Object
Values are
product
orvariant
. Default value isvariant
. -
parseNumber
boolean | null Parse number
-
path
string | null Path
-
purpose
string Required Purpose
Values are
barcode
,compareAtPrice
,costPrice
,description
,distanceUnit
,externalGroupId
,externalId
,grams
,handle
,images
,inventoryPolicy
,inventoryQuantity
,inventoryQuantityBoolean
,metaFields
,mpn
,name
,option
,packingDepth
,packingHeight
,packingWidth
,productType
,requiresShipping
,retailPrice
,sku
,tags
,vendorName
, orweight
.
POST
/inventory-feed-json-fields.json
curl \
--request POST 'http://api.example.com/v1/inventory-feed-json-fields.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"inventoryFeedId":42,"inventoryQuantityBoolean":"string","inventoryQuantityDefault":42,"object":"variant","parseNumber":true,"path":"string","purpose":"barcode"}'
Request examples
{
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"object": "variant",
"parseNumber": true,
"path": "string",
"purpose": "barcode"
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"object": "variant",
"parseNumber": true,
"path": "string",
"purpose": "barcode",
"updatedAt": "2025-05-04T09:42:00Z"
}