Fulfillment for multiple store location [API]

My store has multiple location centers for fulfillment orders. If I choose multiple products in two different locations at the same order then how can I write location_id to fulfillment orders/partially fulfilled.

$this->Rest->post(
“orders/4367830843563/fulfillments”,
[
“fulfillment” => [
“location_id” => 17790861425,
“tracking_number” =>‘123’,
“tracking_company” => ‘abc’
]
]

);

This code is perfectly working for one location for fulfillment. If I choose a different locations product then location_id is different for different products. how I will write the code for multiple location_id ?