cURL
curl --request POST \ --url https://api.hierarch.io/v1/product/create/{company_slug}/ \ --header 'Content-Type: application/json' \ --header 'token: <api-key>' \ --data '{ "name": "<string>", "description": "<string>", "what_you_get": "<string>", "price": "<string>", "currency": "<string>" }'
{ "result": "<string>" }
Create new product
API token provided to your company
This is your company url
Creates new product record
The body is of type object.
object
OK Response
The response is of type object.
Was this page helpful?