Adds a new item.
Object with physical good data.
sku required | string |
object Object with localizations for item's name. Two-letter lowercase language code. | |
object Object with localizations for item's description. Two-letter lowercase language code. | |
object Object with localizations for long description of item. Two-letter lowercase language code. | |
image_url | string |
media_list | Array of strings |
groups | Array of strings |
Array of objects <= 20 items List of attributes. Attention. You can't specify more than 20 attributes for the item. Any attempts to exceed the limit result in an error.
| |
Array of objects | |
Array of objects or null | |
Array of objects | |
is_enabled | boolean |
is_deleted | boolean |
is_free | boolean |
order | number |
tax_categories | Array of strings |
object | |
Array of objects | |
object Weight of the item. |
Physical item was successfully created.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Invalid request.
{- "sku": "t-shirt",
- "name": {
- "en": "T-Shirt",
- "de": "T-Shirt"
}, - "is_enabled": true,
- "is_free": false,
- "order": 1,
- "description": {
- "en": "Short Sleeve T-shirt",
- "de": "Kurzarm-T-Shirt"
}, - "attributes": [
- {
- "external_id": "Color",
- "name": {
- "en": "Color"
}, - "values": [
- {
- "external_id": "Color-black",
- "value": {
- "en-US": "Black"
}
}
]
}
], - "prices": [
- {
- "amount": 20,
- "currency": "EUR",
- "is_enabled": true,
- "is_default": false
}, - {
- "amount": 35,
- "currency": "USD",
- "is_enabled": true,
- "is_default": true
}
], - "tax_categories": [
- "PG00005"
]
}
{- "item_id": 101,
- "sku": "physical_good_1",
- "statusCode": 201,
- "message": "Physical item was successfully created."
}