Orders to pending setting
PUT {{fulfillment_client_url}}/client/shop/1/settings/orders-to-pending
Call to active the option for save new orders with 'pending' status by default.
Body definition
name | Type | Description | Required |
---|---|---|---|
selected | Boolean | active/desactive this option | true |
warehouseId | String | Identifier of the warehouse that will process the orden by default | only when selected is true |
*If the warehouse chosen can not process the order (not has the required products), its status will stand in 'created'.
Request Body
{"selected"=>true, "warehouseId"=>1}
RESPONSES
status: OK
{"check":true}