POST
/
product
/
edit
/
{company_slug}
/
{product_id}
curl --request POST \
  --url https://api.hierarch.io/v1/product/edit/{company_slug}/{product_id}/ \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "what_you_get": "<string>",
  "price": "<string>",
  "currency": "<string>"
}'
{
  "result": "<string>"
}

Authorizations

token
string
header
required

API token provided to your company

Path Parameters

company_slug
string
required

This is your company url

product_id
string
required

Product ID

Body

application/json
Plant to add to the store
name
string

Product name

description
string

Product description

what_you_get
string

Describe what the buyer will be getting

price
string

Product price

currency
string

Currency, e.g. USD

Response

200
application/json
OK Response
result
string
required