POST
/
products
curl --request POST \
  --url https://api.antei.com/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "pricing_amount": 123,
  "currency": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "category": "<string>",
  "pricing_amount": 123,
  "currency": "<string>"
}

Creates a new product record with the given details.

Authorization: Requires Bearer token
Base URL: https://api.antei.com

Request Body

  • name (required) – Name of the product
  • category (optional) – Product category
  • pricing_amount (required) – Price of the product
  • currency (required) – Currency code (e.g., USD, EUR, INR)

Response

Returns the created product object including its unique ID.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Product created successfully

The response is of type object.