PUT /inventory-import-fields/{id}.json

PUT /inventory-import-fields/{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

  • id integer(int32) | null

    Id

  • inventoryImportId integer(int32) Required

    Inventory import

  • name string Required

    Name

  • priceListId integer(int32) | null

    Price list

  • purpose string Required

    Purpose

    Values are automaticallyBackorder, backorderQuantity, barcode, compareAtPrice, costPrice, denyThreshold, grams, inventoryPolicy, inventoryQuantity, price, sku, or vendorSku.

  • updatedAt string(date-time)

    Updated at

PUT /inventory-import-fields/{id}.json
curl \
 -X PUT http://api.example.com/v1/inventory-import-fields/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"createdAt":"2024-05-04T09:42:00+00:00","id":42,"inventoryImportId":42,"name":"string","priceListId":42,"purpose":"automaticallyBackorder","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "inventoryImportId": 42,
  "name": "string",
  "priceListId": 42,
  "purpose": "automaticallyBackorder",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}