PUT /inventory-feed-fields/{id}.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
enabled boolean | null Required
Enabled
Default value is
true
. -
id integer(int32)
Id
-
inventoryFeedId integer(int32) Required
Inventory feed
-
inventoryQuantityBoolean string | null
Inventory quantity boolean
-
inventoryQuantityDefault integer(int32) | null
Inventory quantity default
-
metaFieldsScope string | null
Meta fields scope
-
name string Required
The header name is case sensitive, so make sure it matches exactly with your document's header.
-
normalizeImageUrl boolean | null
Normalize image url
-
optionName string | null
Option name
-
parseNumber boolean | null
Parse number
-
prefix string | null
Prefix
-
priceOperator string | null Required
Price operator
Values are
addition
,subtract
,multiply
, ordivide
. Default value isaddition
. -
priceOperatorField string | null
Price operator field
-
priceOperatorValue number | null Required
Price operator value
Default value is
0
. -
purpose string Required
Purpose
Values are
barcode
,compareAtPrice
,costPrice
,description
,externalGroupId
,externalId
,grams
,handle
,images
,inventoryQuantity
,inventoryQuantityBoolean
,metaFields
,name
,option
,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
-
updatedAt string(date-time)
Updated at
curl \
-X PUT http://api.example.com/v1/inventory-feed-fields/{id}.json \
-H "Content-Type: application/json" \
-d '{"createdAt":"2023-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":"2023-05-04T09:42:00+00:00"}'
{
"createdAt": "2023-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": "2023-05-04T09:42:00+00:00"
}