POST /inventory-feed-json-fields.json

POST /inventory-feed-json-fields.json
application/json

Body Required

  • inventoryFeedId integer(int32) Required

    Inventory feed

  • Inventory quantity boolean

  • inventoryQuantityDefault integer(int32) | null

    Inventory quantity default

  • object string Required

    Object

    Values are product or variant. Default value is variant.

  • parseNumber boolean | null

    Parse number

  • path string | null

    Path

  • purpose string Required

    Purpose

    Values are barcode, compareAtPrice, costPrice, description, distanceUnit, externalGroupId, externalId, grams, handle, images, inventoryPolicy, inventoryQuantity, inventoryQuantityBoolean, metaFields, mpn, name, option, packingDepth, packingHeight, packingWidth, productType, requiresShipping, retailPrice, sku, tags, vendorName, or weight.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • inventoryFeedId integer(int32) Required

      Inventory feed

    • Inventory quantity boolean

    • inventoryQuantityDefault integer(int32) | null

      Inventory quantity default

    • object string Required

      Object

      Values are product or variant. Default value is variant.

    • parseNumber boolean | null

      Parse number

    • path string | null

      Path

    • purpose string Required

      Purpose

      Values are barcode, compareAtPrice, costPrice, description, distanceUnit, externalGroupId, externalId, grams, handle, images, inventoryPolicy, inventoryQuantity, inventoryQuantityBoolean, metaFields, mpn, name, option, packingDepth, packingHeight, packingWidth, productType, requiresShipping, retailPrice, sku, tags, vendorName, or weight.

    • updatedAt string(date-time)

      Updated at

POST /inventory-feed-json-fields.json
curl \
 -X POST http://api.example.com/v1/inventory-feed-json-fields.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"inventoryFeedId":42,"inventoryQuantityBoolean":"string","inventoryQuantityDefault":42,"object":"variant","parseNumber":true,"path":"string","purpose":"barcode"}'
Request example
{
  "inventoryFeedId": 42,
  "inventoryQuantityBoolean": "string",
  "inventoryQuantityDefault": 42,
  "object": "variant",
  "parseNumber": true,
  "path": "string",
  "purpose": "barcode"
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "inventoryFeedId": 42,
  "inventoryQuantityBoolean": "string",
  "inventoryQuantityDefault": 42,
  "object": "variant",
  "parseNumber": true,
  "path": "string",
  "purpose": "barcode",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}