Create product price

Creates a new product price entry.

Product prices link a product to a price category with a specific price amount. Each product can have different prices for different price categories (e.g., retail, wholesale, VIP).

Note: A product can only have one price per price category. Attempting to create a duplicate will result in an error.

Body Fields

FieldTypeRequiredDescription
priceCategoryobjectYesPrice category: {"id": <price_category_id>}
productobjectYesProduct: {"id": <product_id>}
pricefloatYesPrice amount (excluding tax)
taxobjectNoAssociated tax: {"id": <tax_id>}

Response Fields

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

Response

  • 201 Created: Product price successfully created
  • 400 Bad Request: Invalid request body, validation error, or duplicate price category/product combination
  • 401 Unauthorized: Invalid or missing API key
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
priceCategory
object
product
object
number
tax
object
Responses
201

Resource created

400

Bad request

401

Unauthorized

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