IdBuygrid
Get buygrid
Get all the data needed to generate a buy grid for a product. Allows Anonymous.
GET
/v1/products/{id}/buygrid
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Path Parameters
idinteger
Format
int32
Query Parameters
variations?array<integer>
Response Body
curl -X GET "https://loading/v1/products/0/buygrid?variations=0"
{
"show": true,
"selectedStockId": 0,
"variations": [
{
"variationId": 0,
"title": "string",
"values": [
{
"variationValueId": 0,
"title": "string",
"position": 0,
"imageUrl": "string",
"abbreviation": "string"
}
]
}
],
"stockVariations": [
{
"stockId": 0,
"stockCode": "string",
"quantity": 0,
"status": "string",
"message": "string",
"itemPrice": 0.1,
"variationValueIds": [
0
]
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?