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.
mismatched_ext_variant_id
: The product's current ext_variant_id does not match the one given.
mismatched_ext_product_id
: The product's current ext_product_id does not match the one given.
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.
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.
old_ext_variant_id_required
: old_ext_product_id is specified in both the query and the payload, but they don't match.
old_ext_variant_id_required
: old_ext_product_id is specified in both the query and the payload, but they don't match.