item

Update an existing item's properties such as name, weight, dimensions, or cost.

put/item/update

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/item/update
  • Auth
    HTTP bearer

Request body

item_idstring required

Item ID to update

namestring

Item name

skustring

SKU

upcstring

UPC barcode

weightnumber

Weight

weight_unit'oz' | 'lb' | 'g' | 'kg'

Weight unit

lengthnumber

Length

widthnumber

Width

heightnumber

Height

dimensions_unit'in' | 'cm'

Dimensions unit

fulfillment_skustring

Fulfillment SKU

notesstring

Notes

unitstring

Unit of measure

costnumber

Cost

wholesalenumber

Wholesale price

retailnumber

Retail price

imagestring

Image URL

activeboolean

Active status

descriptionstring

Item description

salenumber

Sale price

Response

Item updated

successboolean required

Whether the operation succeeded

_idstring required

Item ID

skustring

Item SKU

noticestring

Additional notice (e.g. kit cost update issue)

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property became required

    • breaking

      the request property type changed from string to number

    • info

      api operation id put_item_update was added

    • info

      added the new cm enum value to the request property

    • info

      added the new g enum value to the request property

    • info

      added the new in enum value to the request property

    • info

      added the new kg enum value to the request property

    • info

      added the new lb enum value to the request property

    • info

      added the new oz enum value to the request property

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the request property type changed from number to string, and format from integer to no format