curl --request GET \
--url https://base_url/api/v1/products/:id \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
},
"message": "Successfully fetched product."
}
curl --request GET \
--url https://base_url/api/v1/products/:id \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
},
"message": "Successfully fetched product."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Fetch a product response.
The response is of type object
.