curl --request GET \
--url https://api.oplog.one/openapi/v1/Products/{sku} \
--header 'Authorization: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "Active",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"favorite": true,
"sku": "<string>",
"stockAmount": 123,
"availableStock": 123,
"receivedItemAmount": 123,
"damagedItemAmount": 123,
"expiredAmount": 123,
"lostItemAmount": 123,
"integration": {
"integrationType": "CudExcludedIntegrations",
"integrationName": "<string>"
},
"imageUrl": "<string>",
"name": "<string>",
"barcodes": [
"<string>"
],
"type": "Product",
"category": "<string>",
"sioc": true,
"width": 123,
"length": 123,
"height": 123,
"weight": 123,
"unitOfDimension": "<string>",
"unitOfWeight": "<string>"
}
curl --request GET \
--url https://api.oplog.one/openapi/v1/Products/{sku} \
--header 'Authorization: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "Active",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"favorite": true,
"sku": "<string>",
"stockAmount": 123,
"availableStock": 123,
"receivedItemAmount": 123,
"damagedItemAmount": 123,
"expiredAmount": 123,
"lostItemAmount": 123,
"integration": {
"integrationType": "CudExcludedIntegrations",
"integrationName": "<string>"
},
"imageUrl": "<string>",
"name": "<string>",
"barcodes": [
"<string>"
],
"type": "Product",
"category": "<string>",
"sioc": true,
"width": 123,
"length": 123,
"height": 123,
"weight": 123,
"unitOfDimension": "<string>",
"unitOfWeight": "<string>"
}
If you want to emulate, please enter TenantId.
Success
The response is of type object
.