Create a product

Endpoint to create a product

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
  • At least one of the two fields sellingPrice or retailPrice is mandatory.
string
required
length ≤ 255

Name of the product

string | null

Description of the product

string | null

Reference of the product

string
required

It must have the format TAXTYPE_INT, TAXTYPE_INT_INT or TAXTYPE_NONTAXABLETAXTYPE_INT.
The TAXTYPE can be IVA, IPSI or IGIC.
INT is the tax rate and the second INT is for the decimal part of the tax rate.
The NONTAXABLETAXTYPE can be Exempt, NotSubject or ReverseCharge.
For the NONTAXABLETAXTYPE the INT must be 0.
Only spanish or european tax keys are allowed.
Some examples are: IVA_Exempt_0, IVA_21, IPSI_3, IGIC_7_5

number | null
0 to 999999

Buying price of the product

number
0 to 999999

Selling price of the product without VAT. If not provided, it will be calculated automatically.

number
≥ 0

Selling price of the product including taxes and possible discounts. If not provided, it will be calculated automatically

number
0 to 100

Discount percentage to apply to the product

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json