Body Required
The request body schema for the catalogProductsUpdate operation.
-
The SKU of the item.
Minimum length is
1
. -
price number
The price of the item.
Minimum value is
0
, maximum value is1000000.0
. -
quantity integer
The quantity of the item.
Minimum value is
0
, maximum value is1000000
. -
currency string(currency)
currency by ISO3 code
Minimum length is
3
, maximum length is3
.
POST /catalog/product/
curl \
-X POST https://m2e.cloud/api/v1/api/catalog/product/ \
-H "access-token: $API_KEY" \
-H "Content-Type: application/json" \
-d '[{"sku":"test-product-SKU","price":99.99,"quantity":17,"currency":"USD"}]'
Request example
[
{
"sku": "test-product-SKU",
"price": 99.99,
"quantity": 17,
"currency": "USD"
}
]
Response examples (200)
# Headers
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 90
X-RateLimit-Retry-After: 2022-11-04T13:43:28Z
# Payload
{
"updated": 10
}
Response examples (400)
# Headers
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 90
X-RateLimit-Retry-After: 2022-11-04T13:43:28Z
# Payload
[
{
"code": 404,
"message": "Not found.",
"data": {}
}
]
Response examples (404)
[
{
"code": 404,
"message": "Not found.",
"data": {}
}
]
Response examples (401)
[
{
"code": 404,
"message": "Not found.",
"data": {}
}
]
Response examples (429)
# Headers
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 90
X-RateLimit-Retry-After: 2022-11-04T13:43:28Z
# Payload
[
{
"code": 404,
"message": "Not found.",
"data": {}
}
]
Response examples (500)
[
{
"code": 404,
"message": "Not found.",
"data": {}
}
]