Product

Get product

Get a product by ID from the Terminal shop.

get/product/{id}

Path parameters

idstring required

ID of the product to get.

Example:prd_XXXXXXXXXXXXXXXXXXXXXXXXX

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/description from the response with the 200 status

      response-optional-property-removed

    • added the optional property data/allOf[Product]/timeHidden to the response with the 200 status

      response-optional-property-added

    • added the optional property data/allOf[Product]/variants/items/description to the response with the 200 status

      response-optional-property-added

    • added the optional property data/allOf[Product]/tags/market_global to the response with the 200 status

      response-optional-property-added

    • added the optional property data/allOf[Product]/variants/items/tags to the response with the 200 status

      response-optional-property-added

  • 1c6726b12e29318See the full diff
    • the response's body type/format changed from / to object/ for status 404

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 429

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 500

      response-body-type-changed

    • removed ErrorResponse from the response body allOf list for the response status 404

      response-body-all-of-removed

    • removed ErrorResponse from the response body allOf list for the response status 429

      response-body-all-of-removed

    • removed ErrorResponse from the response body allOf list for the response status 500

      response-body-all-of-removed

    • added the optional property details to the response with the 404 status

      response-optional-property-added

    • added the optional property details to the response with the 429 status

      response-optional-property-added

    • added the optional property details to the response with the 500 status

      response-optional-property-added

    • added the optional property param to the response with the 404 status

      response-optional-property-added

    • added the optional property param to the response with the 429 status

      response-optional-property-added

    • added the optional property param to the response with the 500 status

      response-optional-property-added

    • added the required property code to the response with the 404 status

      response-required-property-added

    • added the required property code to the response with the 429 status

      response-required-property-added

    • added the required property code to the response with the 500 status

      response-required-property-added

    • added the required property message to the response with the 404 status

      response-required-property-added

    • added the required property message to the response with the 429 status

      response-required-property-added

    • added the required property message to the response with the 500 status

      response-required-property-added

    • added the required property type to the response with the 404 status

      response-required-property-added

    • added the required property type to the response with the 429 status

      response-required-property-added

    • added the required property type to the response with the 500 status

      response-required-property-added

    • removed the optional property data/allOf[Product]/tags/type from the response with the 200 status

      response-optional-property-removed

    • added the optional property data/allOf[Product]/tags/type to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added