Products

Create a product

This call will create a new product in your product library.

post/v1/products

Request

  • Base URL: https://api.getaccept.com
  • URL: https://api.getaccept.com/v1/products
  • Auth: HTTP bearer

Request body

namestring required

Product name.

descriptionstring required

Product description. Accepts markdown or plain text.

skustring required

Product SKU.

pricestring required

Price in the major unit of meta_data.currency, as a decimal string with a period as decimal separator, for example 199.99. Must be 0 or more.

taxstring

Tax rate in percent as a decimal string, for example 25 for 25 percent. Must be 0 or more.

Response

The resource was created.

idstring required

Id of the product.

entity_idstring required

Id of the entity that owns the product.

namestring required

Name of the product.

descriptionstring required

Description of the product, which may contain markdown.

skustring required

Stock keeping unit of the product.

pricestring required

Price of the product as stored, a decimal string in the major unit of meta_data.currency, for example 199.99.

created_atstring required

When the product was created, in UTC as ISO 8601 with an offset and without milliseconds, such as 2024-01-01T00:00:00+00:00.

updated_atstring required

When the product was last updated, in UTC as ISO 8601 with an offset and without milliseconds, such as 2024-01-01T00:00:00+00:00.

created_bystring required

Id of the user that created the product.

updated_bystring required

Id of the user that last updated the product.

taxstring

Tax rate of the product in percent.

Changes

No recorded changes to this operation across all 1 revision of this API.