curl --request POST \
--url https://api.oplog.one/openapi/v1/Products \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"sku": "<string>",
"imageUrl": "<string>",
"name": "<string>",
"barcodes": [
"<string>"
],
"type": "Product",
"category": "<string>",
"price": 123,
"salePrice": 123,
"currency": "TRY",
"taxRatio": 123,
"salesUrl": "<string>",
"tag": "<string>",
"width": 123,
"length": 123,
"height": 123,
"weight": 123,
"unitOfDimension": "Cm",
"unitOfWeight": "Kg",
"integrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
curl --request POST \
--url https://api.oplog.one/openapi/v1/Products \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"sku": "<string>",
"imageUrl": "<string>",
"name": "<string>",
"barcodes": [
"<string>"
],
"type": "Product",
"category": "<string>",
"price": 123,
"salePrice": 123,
"currency": "TRY",
"taxRatio": 123,
"salesUrl": "<string>",
"tag": "<string>",
"width": 123,
"length": 123,
"height": 123,
"weight": 123,
"unitOfDimension": "Cm",
"unitOfWeight": "Kg",
"integrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
If you want to emulate, please enter TenantId.
Success