POST /inventory-feed-fields.json
Body Required
-
Enabled
Default value is
true
. -
Inventory feed
-
inventoryQuantityBoolean string | null
Inventory quantity boolean
-
inventoryQuantityDefault integer(int32) | null
Inventory quantity default
-
metaFieldsScope string | null
Meta fields scope
-
Name
-
normalizeImageUrl boolean | null
Normalize image url
-
optionName string | null
Option name
-
parseNumber boolean | null
Parse number
-
prefix string | null
Prefix
-
Price operator
Values are
addition
,subtract
,multiply
, ordivide
. Default value isaddition
. -
priceOperatorField string | null
Price operator field
-
Price operator value
Default value is
0
. -
Purpose
Values are
barcode
,compareAtPrice
,costPrice
,countryOfOrigin
,description
,distanceUnit
,externalGroupId
,externalId
,grams
,handle
,hsCode
,images
,inventoryLocation
,inventoryPolicy
,inventoryQuantity
,inventoryQuantityBoolean
,location
,metaFields
,mpn
,name
,option
,packingDepth
,packingHeight
,packingWidth
,productType
,requiresShipping
,retailPrice
,sku
,tags
,vendorName
, orweight
. -
seperator string | null
Seperator
-
slugify boolean | null
Slugify
-
strip array[string] | null
Strip
-
subfieldPurpose string | null
Subfield purpose
Values are
inventoryQuantity
,externalId
,externalGroupId
,sku
,vendorName
,costPrice
,retailPrice
,name
,images
,productType
,requiresShipping
,barcode
,grams
,options
,tags
, ordescription
. -
subfieldRegex string | null
Subfield regex
curl \
-X POST http://api.example.com/v1/inventory-feed-fields.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"inventoryFeedId":42,"inventoryQuantityBoolean":"string","inventoryQuantityDefault":42,"metaFieldsScope":"string","name":"string","normalizeImageUrl":true,"optionName":"string","parseNumber":true,"prefix":"string","priceOperator":"addition","priceOperatorField":"string","priceOperatorValue":0,"purpose":"barcode","seperator":"string","slugify":true,"strip":["string"],"subfieldPurpose":"inventoryQuantity","subfieldRegex":"string"}'
{
"enabled": true,
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"metaFieldsScope": "string",
"name": "string",
"normalizeImageUrl": true,
"optionName": "string",
"parseNumber": true,
"prefix": "string",
"priceOperator": "addition",
"priceOperatorField": "string",
"priceOperatorValue": 0,
"purpose": "barcode",
"seperator": "string",
"slugify": true,
"strip": [
"string"
],
"subfieldPurpose": "inventoryQuantity",
"subfieldRegex": "string"
}
{
"createdAt": "2024-05-04T09:42:00+00:00",
"enabled": true,
"id": 42,
"inventoryFeedId": 42,
"inventoryQuantityBoolean": "string",
"inventoryQuantityDefault": 42,
"metaFieldsScope": "string",
"name": "string",
"normalizeImageUrl": true,
"optionName": "string",
"parseNumber": true,
"prefix": "string",
"priceOperator": "addition",
"priceOperatorField": "string",
"priceOperatorValue": 0,
"purpose": "barcode",
"seperator": "string",
"slugify": true,
"strip": [
"string"
],
"subfieldPurpose": "inventoryQuantity",
"subfieldRegex": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}