KashierDevelopersKashier Developers

Get a product

curl -X GET "https://test-api.kashier.io/v2/products/string"
{  "data": {    "_id": "string",    "merchantId": "string",    "name": "string",    "sku": "string",    "price": 0,    "currency": "string",    "description": "string",    "image": "string",    "status": "string",    "createdAt": "string",    "updatedAt": "string"  }}

Retrieves a single product by its record id, including its description, image, price, and stock status.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

id*string

The product's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/products/{id}