I'm trying to create a draft order, using the REST API, but i can't get the response from shopify. How can I get the ID after save the draft order?
$draftOrder = new DraftOrder($shopifySession);
$draftOrder->line_items = $line_items;
$draftOrder->customer = ["id" => $customer_id];
$response = $draftOrder->save();
dd($response) // OBJECT WAS CREATED BUT THE RESPONSE IS NULL