Update Multiple Articles
This bulk update endpoint (PUT /v2/articles/bulk) supports multiple action types, each requiring a different body structure. This document outlines the required fields and structure for each action type.
Request Structure
All bulk update requests follow this general structure:
{
"actions": [
{
"sku": "<article_sku>",
"action": "<action_type>",
"body": {
// Fields vary based on action type
}
}
]
}Action Types and Their Required Body Structures
1. update_article
Used for comprehensive article updates.
Required Fields: status, main_image, markets, shipping_time, title, description
2. update_article_price
Used solely for updating an article's price information.
Required Fields: price
3. update_article_quantity
Used solely for updating an article's stock quantity.
Required Fields: quantity
4. delete_article
Used for removing an article from the system.
Required Fields: None
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Request Structure
All bulk update requests follow this general structure:
{ "actions": [
{ "sku": "<article_sku>",
"action": "<action_type>",
"body": { // Fields vary based on action type }
}
]
}Action Types and Their Required Body Structures
1. update_article
Used for comprehensive article updates.
Required Fields: status, main_image, markets, shipping_time, title, description
Forbidden fields: Price, quantity
2. update_article_price
Used solely for updating an article's price information.
Allowed Fields: price
3. update_article_quantity
Used solely for updating an article's stock quantity.
Allowed Fields: quantity
4. delete_article
Used for removing an article from the system.
Required Fields: None