The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Update product by id
PUT
https://api.pack.cloud/v1/warehouses/{warehouseId}/products/{productId}
Request
Path parameters
warehouseIdstring
productIdstring
Payload
Settings for product in this warehouse
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
Response
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
idstring
ID of the product
organization_idstring
ID of the organization
namestring
Name of the product
Example:Pencil - Orange
brand_namestringnull
Name of the product brand
Example:General Pencils
codestringnull
Article code / SKU / reference / MPN
Example:PENCO204
Dimensions of product
Unit weight of product
hs_codeintegernull
Harmonized System code of product
Example:96091010
country_code_of_originstringnull
Country code of origin
Example:CN
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource