Update Products
PUT/api/v1/products/:product_id
Update Products
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Successful Response
`product_sku_already_exists_and_in_use_by_other_product`: Product with this sku exists and in use by other product.
<br>`mismatched_ext_variant_id`: The product's current ext_variant_id does not match the one given.
<br>`mismatched_ext_product_id`: The product's current ext_product_id does not match the one given.
<br>`duplicate_products_found`: The product has multiple mappings, specify ext_product_id and ext_variant_id to update the correct mapping.
`unauthorized`: Invalid or no credentials where supplied.
`could_not_validate_credentials`: Could not validate credentials.
`shop_not_found`: Shop does not exist.
<br>`product_not_found`: Product not found.
`old_ext_variant_id_required`: If old_ext_product_id is specified, then old_ext_variant_id must also be specified.
<br>`old_ext_variant_id_required`: old_ext_product_id is specified in both the query and the payload, but they don't match.
<br>`old_ext_variant_id_required`: old_ext_product_id is specified in both the query and the payload, but they don't match.