PUT /inventory-feed-mappings/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
Field
Values are
optionName
,optionValue
,metaFieldName
, ormetaFieldValue
. -
id integer(int32)
Id
-
inventoryFeedId integer(int32) | null
Inventory feed
-
Match type
Values are
includes
,excludes
,matches
,startsWith
, orendsWith
. -
Transform from
-
Transform to
-
Transform type
Values are
capitalize
,humanize
, ornone
. Default value isnone
. -
updatedAt string(date-time)
Updated at
PUT
/inventory-feed-mappings/{id}.json
curl \
-X PUT http://api.example.com/v1/inventory-feed-mappings/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","field":"optionName","id":42,"inventoryFeedId":42,"matchType":"includes","transformFrom":["string"],"transformTo":"string","transformType":"none","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"field": "optionName",
"id": 42,
"inventoryFeedId": 42,
"matchType": "includes",
"transformFrom": [
"string"
],
"transformTo": "string",
"transformType": "none",
"updatedAt": "2024-05-04T09:42:00+00:00"
}