POST
/
openapi
/
v1
/
Products
/
GetBySKUWithBody
Get Product by SKU with body.
curl --request POST \
  --url https://api.oplog.one/openapi/v1/Products/GetBySKUWithBody \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "sku": "<string>"
}'
{
  "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>"
}

Authorizations

Authorization
string
header
required

Headers

X-Tenant-Id
string

If you want to emulate, please enter TenantId.

Body

Response

200
text/plain

Success

The response is of type object.