mirakl / sdk-php-shop

Mirakl PHP SDK for sellers
30 stars 16 forks source link

OR28 - Request refunds on order lines. How to exclude from shipment? #24

Closed TriJoe closed 2 years ago

TriJoe commented 2 years ago

Mirakl documentation shows you can use boolean excluded_from_shipment which removes the line item from the shipment.

How can I set this option?

jreinke commented 2 years ago

Hello,

You should be able to add this parameter with the following code:

$refund->setData('excluded_from_shipment', true);

We will add it in the PHPDoc of the PHP SDK in future versions.

Best, Johann