Update product price

Updates an existing product price by its ID.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesProduct price unique identifier

Body Fields

FieldTypeRequiredDescription
pricefloatNoPrice amount (excluding tax)
taxobjectNoAssociated tax: {"id": <tax_id>} or null to remove
priceCategoryobjectNoChange price category: {"id": <price_category_id>}
productobjectNoChange product: {"id": <product_id>}

Note: Changing priceCategory or product may fail if it creates a duplicate combination.

Response Fields

FieldTypeDescription
idintegerProduct price unique identifier
pricefloatPrice amount
priceCategoryobjectAssociated price category
productobjectAssociated product
taxobjectAssociated tax (if any)
createdAtdatetimeCreation timestamp
updatedAtdatetimeLast update timestamp

Response

  • 200 OK: Product price successfully updated
  • 400 Bad Request: Invalid request body or validation error
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Product price not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
number
tax
object
Responses
200

Resource updated

400

Bad request

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!