Get product
Get a product by ID from the Terminal shop.
Path parameters
ID of the product to get.
Response
The requested product.
Example response
{
"data": {
"id": "prd_XXXXXXXXXXXXXXXXXXXXXXXXX",
"name": "[object Object]",
"description": "The interpolation of Caturra and Castillo varietals from Las Cochitas creates this refreshing citrusy and complex coffee.",
"variants": [
{
"id": "var_XXXXXXXXXXXXXXXXXXXXXXXXX",
"name": "12oz",
"price": 2200
}
],
"order": 100,
"subscription": "allowed",
"tags": {
"featured": true
},
"filters": []
}
}Changes
Changed in 7 of the 41 revisions of this API.3224
- ●
removed the optional property
data/allOf[Product]/variants/items/descriptionfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
data/allOf[Product]/timeHiddento the response with the200statusresponse-optional-property-added
- ●
- ○
added the optional property
data/allOf[Product]/variants/items/descriptionto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
data/allOf[Product]/tags/market_globalto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/allOf[Product]/variants/items/tagsto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response's body type/format changed from
/toobject/for status404response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status429response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status500response-body-type-changed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status404response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status429response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status500response-body-all-of-removed
- ○
added the optional property
detailsto the response with the404statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the429statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the404statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the429statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the500statusresponse-optional-property-added
- ○
added the required property
codeto the response with the404statusresponse-required-property-added
- ○
added the required property
codeto the response with the429statusresponse-required-property-added
- ○
added the required property
codeto the response with the500statusresponse-required-property-added
- ○
added the required property
messageto the response with the404statusresponse-required-property-added
- ○
added the required property
messageto the response with the429statusresponse-required-property-added
- ○
added the required property
messageto the response with the500statusresponse-required-property-added
- ○
added the required property
typeto the response with the404statusresponse-required-property-added
- ○
added the required property
typeto the response with the429statusresponse-required-property-added
- ○
added the required property
typeto the response with the500statusresponse-required-property-added
- ▲
- ●
removed the optional property
data/allOf[Product]/tags/typefrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the optional property
data/allOf[Product]/tags/typeto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○