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>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

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}