PUT /inventory-feed-fields/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
Enabled
Default value is
true
. -
id integer(int32)
Id
-
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
-
updatedAt string(date-time)
Updated at
curl \
-X PUT http://api.example.com/v1/inventory-feed-fields/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
{
"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"
}