Skip to main content
POST
/
catalog
/
products
cURL
curl --request POST \
  --url http://sandbox.mintlify.com/catalog/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872981cb-d498-44de-967e-e7a170e0b416",
  "name": "Premium",
  "description": "Premium mobile plan",
  "metadata": {},
  "externalCode": "700031450"
}
'
{
  "id": "872981cb-d498-44de-967e-e7a170e0b416",
  "name": "Premium",
  "description": "Premium mobile plan",
  "metadata": {},
  "createdAt": "2024-05-19T13:58:03.418Z",
  "updatedAt": "2024-05-20T10:12:45.123Z",
  "externalCode": "700031450"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string<uuid>
Example:

"872981cb-d498-44de-967e-e7a170e0b416"

name
string
Example:

"Premium"

description
string
Example:

"Premium mobile plan"

metadata
object
Example:
{}
externalCode
string | null
Example:

"700031450"

Response

Product response

id
string<uuid>
Example:

"872981cb-d498-44de-967e-e7a170e0b416"

name
string
Example:

"Premium"

description
string
Example:

"Premium mobile plan"

metadata
object
Example:
{}
createdAt
string<date-time>
Example:

"2024-05-19T13:58:03.418Z"

updatedAt
string<date-time>
Example:

"2024-05-20T10:12:45.123Z"

externalCode
string | null
Example:

"700031450"