Light Mode
Products Bulk Editor
POST
/products/bulkLast modified: 10 days ago
This endpoint allows you to update multiple products in one single request.
Request
Body Params application/json
No schema defined
Example
{
"products": [
{
"id": 1924175268,
"name": "Product name",
"mpn": "",
"gtin": "",
"calories": null,
"weight": null,
"weight_type": null,
"description": "",
"sku": "sdfsdf",
"mahly_category_id": "62",
"prices": {
"price": 123,
"sale_price": 123,
"cost_price": 12,
"sale_end": null
},
"brand": 234343,
"branches": [
123,
456
],
"categories": [
123,
456
],
"show_in": {
"app": false,
"web": true
},
"promotion": {
"title": "",
"sub_title": ""
},
"max_quantity": 4,
"notify_quantity": 2,
"features": {
"taxable": true,
"can_upload_file": true,
"require_shipping": true,
"can_add_note": true,
"hide_quantity": false
}
}
]
}
Request samples
Responses
Created(201)
error_unauthorized_401(401)
error_validation_422(422)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Example 1
{
"status": 201,
"success": true,
"data": {
"message": "تم التعديل بنجاح",
"code": 201
}
}
Last modified: 10 days ago