(GET) por ID
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/{id}
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/skus/{id}' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Consulta de SKU pelo ID
Path Parameters
| Campo |
Tipo |
Descrição |
| id |
string |
(required) ID do SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
Query Parameters
| Campo |
Tipo |
Descrição |
| inventory |
string |
(optional) Incluir Estoque atualizado? Default: false |
(POST) /products/{id}/sku
API Endpoint
https://api.omnik.io/HUB/v1/products/{id}/sku/
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/{id}/sku/' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json' \
--data '{
"active": true,
"skuData": {
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
]
}'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Incluir SKU
Path Parameters
| Campo |
Tipo |
Descrição |
| id |
string |
(required) ID do Produto |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(PUT) /products/{id}/sku/{idSKU}
API Endpoint
https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}
# Here is a curl example
curl --location --request \
PUT 'https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
--data '{
"active": true,
"skuData": {
"id": "string",
"sku": "string",
"skuName": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
]
}'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Alterar SKU
Path Parameters
| Campo |
Tipo |
Descrição |
| id |
string |
(required) ID do Produto |
| idSKU |
string |
(required) ID do SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(PATCH) /products/{id}/sku/{idSKU}
API Endpoint
https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}
# Here is a curl example
curl --location --request \
PATCH 'https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
--data '{
"active": true,
"tenant": "string",
"productData": {
"active": true,
"productName": "string",
"description": "string",
"descriptionHTML": "string",
"brand": "string",
"tags": "string",
"warranty": 0,
"variant": true,
"unit": "string",
"unitInitials": "string"
},
"codes": [
{
"code": "string"
}
],
"productDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"categoryData": {
"id": "string",
"code": "string",
"name": "string"
},
"attributes": [
{
"id": "string",
"name": "string",
"value": "string",
"required": true
}
],
"skus": [
{
"active": true,
"skuData": {
"id": "string",
"sku": "string",
"skuName": "string",
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
]
}
]
}'
Result example 2xx:
{
"tenant": "string",
"operator": "string",
"account": "string",
"createDate": "1970-01-01T00:00:00.000000",
"lastUpdate": "1970-01-01T00:00:00.000000",
"productData": {
"active": true,
"id": "string",
"productName": "string",
"description": "string",
"descriptionHTML": "string",
"brand": "string",
"tags": "string",
"warranty": 0,
"variant": true,
"unit": "string",
"unitInitials": "string"
},
"codes": [
{
"code": "string"
}
],
"productDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"taxData": {
"icmsOriginId": "string",
"icmsOriginName": "string",
"ncmData": {
"id": "string",
"ncm": "string"
}
},
"categoryData": {
"id": "string",
"code": "string",
"name": "string"
},
"categories": [
{
"channel": "string",
"tag": "string",
"id1": "string",
"name1": "string",
"id2": "string",
"name2": "string",
"id3": "string",
"name3": "string",
"id4": "string",
"name4": "string",
"id5": "string",
"name5": "string",
"id6": "string",
"name6": "string",
"id7": "string",
"name7": "string",
"id8": "string",
"name8": "string"
}
],
"attributes": [
{
"id": "string",
"name": "string",
"value": "string",
"required": true
}
],
"skus": [
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Alterar SKU
Path Parameters
| Campo |
Tipo |
Descrição |
| id |
string |
(required) ID do Produto |
| idSKU |
string |
(required) ID do SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(DELETE) /products/{id}/sku/{idSKU}
API Endpoint
https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}
# Here is a curl example
curl --location --request \
DELETE 'https://api.omnik.io/HUB/v1/products/{id}/sku/{idSKU}' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Deletar SKU
Path Parameters
| Campo |
Tipo |
Descrição |
| id |
string |
(required) ID do Produto |
| idSKU |
string |
(required) ID do SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(GET) /skuseller/{sku}
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Consulta de SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
Query Parameters
| Campo |
Tipo |
Descrição |
| inventory |
string |
(optional) Incluir Estoque atualizado? Default: false |
(GET) /skuseller/{sku}/inventory
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/inventory
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/inventory' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"lastUpdate": "1970-01-01T00:00:00.000000",
"productId": "string",
"tenant": "string",
"sku": "string",
"inventory": 0,
"entries": 0,
"out": 0,
"reserves": 0,
"type": "string",
"local": "string"
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Consulta de Estoque do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(PUT) /skuseller/{sku}/inventory
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/inventory
# Here is a curl example
curl --location --request \
PUT 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/inventory \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json' \
--data '{
"tenant": "string",
"inventory": 0,
"type": "string",
"local": "string"
}'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Alterar Estoque do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(GET) /skuseller/{sku}/price
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/price
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/price' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"lastUpdate": "1970-01-01T00:00:00.000000",
"productId": "string",
"tenant": "string",
"sku": "string",
"fromPrice": 0,
"price": 0,
"costPrice": 0,
"campaigns": {
"id": "string",
"discount": 0
}
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Consulta de Preço do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(PUT) /skuseller/{sku}/price
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/price
# Here is a curl example
curl --location --request \
PUT 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/price \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json' \
--data '{
"tenant": "string",
"fromPrice": 0,
"price": 0,
"costPrice": 0
}'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Alterar Preço do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(GET) /skuseller/{sku}/crossdockingdays
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/crossdockingdays
# Here is a curl example
curl --location 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/crossdockingdays' \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json'
Result example 2xx:
{
"lastUpdate": "1970-01-01T00:00:00.000000",
"productId": "string",
"tenant": "string",
"sku": "string",
"fromPrice": 0,
"price": 0,
"costPrice": 0,
"campaigns": {
"id": "string",
"discount": 0
}
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Consulta de Prazo do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |
(PUT) /skuseller/{sku}/crossdockingdays
API Endpoint
https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/crossdockingdays
# Here is a curl example
curl --location --request \
PUT 'https://api.omnik.io/HUB/v1/products/skus/skuseller/{sku}/crossdockingdays \
--header 'token: {token}' \
--header 'application_id: {application_id}' \
--header 'seller: {seller-tenant}' \
--header 'Content-Type: application/json' \
--data '{
"tenant": "string",
"crossdockingDays": 0
}'
Result example 2xx:
{
"active": true,
"skuData": {
"id": "string",
"tenant": "string",
"sku": "string",
"skuName": "string",
"gtin": "string",
"model": "string",
"crossdockingDays": 0,
"supplierCode": "string",
"erpCode": "string",
"establishmentCode": "string",
"moderationStatus": "string",
"moderationDate": "string",
"productType": "string",
"productCondition": "string",
"description": "string",
"descriptionHTML": "string"
},
"productData": {
"id": "string"
},
"codes": [
{
"code": "string"
}
],
"errors": [
{
"code": "string",
"type": "string",
"message": "string"
}
],
"priceData": {
"fromPrice": 0,
"price": 0,
"costPrice": 0
},
"stockData": {
"stock": 0,
"minStock": 0
},
"packageDimensionData": {
"width": 0,
"height": 0,
"depth": 0,
"grossWeight": 0
},
"images": [
{
"thumbnail": "string",
"small": "string",
"average": "string",
"big": "string",
"link": "string",
"main": true,
"number": 0
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"marketplaces": [
{
"marketplace": "string",
"marketPlaceId": "string",
"commissionValue": 0,
"lastUpdate": "1970-01-01T00:00:00.000000",
"active": true
}
]
}
Result example 4xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Result example 5xx:
{
"code": 0,
"type": "string",
"message": "string",
"messages": [
{
"code": 0,
"message": "string"
}
]
}
Alterar Prazo do SKU pelo Código de sku do Seller
Path Parameters
| Campo |
Tipo |
Descrição |
| sku |
string |
(required) Código de SKU |
Header Parameters
| Campo |
Tipo |
Descrição |
| token |
string |
(required) seu token de acesso |
| application_id |
string |
(required) ID do seu token de acesso |
| seller |
string |
(optional) Tenant ID do Seller (se Operador) |