Skip to main content
POST
/
catalogProducts
Create Catalog product
curl --request POST \
  --url https://connect.withvayu.com/catalogProducts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "externalId": "<string>"
}'
{
  "catalogProduct": {
    "name": "<string>",
    "description": "<string>",
    "externalId": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

The name of the catalog product

Minimum length: 1
description
string

The description of the catalog product

externalId
string

The external ID of the catalog product

Response

RequestSuccess

catalogProduct
object
required