Admin api products
Get product detail by id
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*integer
Id of a product
Response Body
application/json
application/json
curl -X GET "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/products/0"{
"id": "string",
"name": "string",
"price": "string",
"barcode": "string",
"category": "string",
"thumbnail": "string",
"invalidThumbnail": true,
"productId": 0,
"quantity": 0,
"weight": 0,
"sku": "string",
"inventoryItemId": 0,
"externalId": "string",
"restricted": true,
"taxCode": "string",
"storePrices": [
{
"storeId": "string",
"productId": "string",
"price": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"variants": [
{
"id": 0,
"name": "string",
"thumbnail": "string",
"invalidThumbnail": true,
"externalId": "string",
"weight": "string",
"barcodes": [
{
"isDefault": true,
"barcode": "string"
}
],
"isDefault": true,
"productId": 0
}
]
}Empty
Empty
{
"message": "Invalid request body",
"type": "E_INVALID_BODY",
"errors": [
{
"error": "\"email\" is required",
"rule": "any.required",
"field": "\"email\""
}
]
}How is this guide?