GET
/
product
/
get
/
{company_slug}
/
{product_id}
curl --request GET \
  --url https://api.hierarch.io/v1/product/get/{company_slug}/{product_id}/ \
  --header 'token: <api-key>'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "what_you_get": "<string>",
  "price": "<string>",
  "currency": "<string>",
  "datetime": "<string>",
  "last_updated": "<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

Response

200
application/json
OK Response
id
integer
required

Product ID

name
string

Product name

description
string

Product description

what_you_get
string

List of things/values the client will get

price
string

Product price, e.g. 1000

currency
string

Currency, e.g. USD

datetime
string

Date and time the product was created

last_updated
string

Date and time the product was last updated