You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing this is a result of me calling ->dto() on a response with no body. Should the selling-partner-api handle this scenareo itself, or should I be checking the status of the response object before calling dto().
Problem description:
$response = $this->spapi
->getConnector()
->ordersV0()
->confirmShipment(
$amazonOrderId,
$confirmShipmentRequest
)->dto();
with valid confirmShipmentRequest and amazonOrderId objects. Call is successful and the confirmation is registered on Amazon.
Call returns a 204 with zero body.
Error:
Exception is thrown
"Class to be deserialized must have a constructor"
The text was updated successfully, but these errors were encountered: