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

nameTypeDescriptionRequired
selectedBooleanactive/desactive this optiontrue
warehouseIdStringIdentifier of the warehouse that will process the orden by defaultonly 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}