PATCH
/
products
/
{id}
curl --request PATCH \
  --url https://api.antei.com/products/{id} \
  --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>"
}

Updates only the specified fields of an existing product.

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

Path Parameters

  • id (required) – ID of the product to update

Request Body

Any subset of:

  • name
  • category
  • pricing_amount
  • currency

Response

Returns the updated product object.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
name
string
required
pricing_amount
number
required
currency
string
required
category
string

Response

200 - application/json

Product updated

id
string
required

Unique product identifier

name
string
required

Product name

pricing_amount
number
required

Base price of the product

currency
string
required

Currency code (e.g., USD, EUR, INR)

category
string

Product category