PUT /inventory-feed-mappings/{id}.json

PUT /inventory-feed-mappings/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • createdAt string(date-time)

    Created at

  • field string Required

    Field

    Values are optionName, optionValue, metaFieldName, or metaFieldValue.

  • id integer(int32)

    Id

  • inventoryFeedId integer(int32) | null

    Inventory feed

  • matchType string Required

    Match type

    Values are includes, excludes, matches, startsWith, or endsWith.

  • transformFrom array[string] Required

    Transform from

  • transformTo string Required

    Transform to

  • transformType string Required

    Transform type

    Values are capitalize, humanize, or none. Default value is none.

  • updatedAt string(date-time)

    Updated at

PUT /inventory-feed-mappings/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/inventory-feed-mappings/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"createdAt":"2025-05-04T09:42:00Z","field":"optionName","id":42,"inventoryFeedId":42,"matchType":"includes","transformFrom":["string"],"transformTo":"string","transformType":"none","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
  "createdAt": "2025-05-04T09:42:00Z",
  "field": "optionName",
  "id": 42,
  "inventoryFeedId": 42,
  "matchType": "includes",
  "transformFrom": [
    "string"
  ],
  "transformTo": "string",
  "transformType": "none",
  "updatedAt": "2025-05-04T09:42:00Z"
}