ReDoc documentation
Add or update product's special price. If any items will have invalid price, store id, sku or dates, they will be marked as failed and excluded from update list and \Magento\Catalog\Api\Data\PriceUpdateResultInterface[] with problem description will be returned. If there were no failed items during update empty array will be returned. If error occurred during the update exception will be thrown.
required | Array of objects (catalog-data-special-price-interface) |
200 Success.
400 Bad Request
401 Unauthorized
Unexpected error
{- "prices": [
- {
- "price": 0,
- "store_id": 0,
- "sku": "string",
- "price_from": "string",
- "price_to": "string",
- "extension_attributes": { }
}
]
}
[- {
- "message": "string",
- "parameters": [
- "string"
], - "extension_attributes": { }
}
]