POST /inventory-feed-json-fields.json
Body Required
-
Inventory feed
-
inventoryQuantityBoolean string | null
Inventory quantity boolean
-
inventoryQuantityDefault integer(int32) | null
Inventory quantity default
-
Object
Values are
product
orvariant
. Default value isvariant
. -
parseNumber boolean | null
Parse number
-
path string | null
Path
-
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 \
-X POST http://api.example.com/v1/inventory-feed-json-fields.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inventoryFeedId":42,"inventoryQuantityBoolean":"string","inventoryQuantityDefault":42,"object":"variant","parseNumber":true,"path":"string","purpose":"barcode"}'
Request example
{
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"object": "variant",
"parseNumber": true,
"path": "string",
"purpose": "barcode"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"object": "variant",
"parseNumber": true,
"path": "string",
"purpose": "barcode",
"updatedAt": "2024-05-04T09:42:00+00:00"
}