cURL
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>", "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "externalId": "<string>" } }
Create a new Catalog product.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the catalog product
1
The description of the catalog product
The external ID of the catalog product
RequestSuccess
Show child attributes