Update Order ShipmentStatus does not work anymore

rudiwerrudiwer Member Posts: 2

Hello,

Is there something changed in this ?

This is in my code since a year now and is see it is stop wroking since 1 December ?

I update the status of my orders via API and i saw today ibn the lightspeed backoffice that they are no longer updated

since 1 december ?

My code is somethin like that :

$orders()->update()->($order->id, ['shipmentStatus' => 'shipped']);

I get no error in response but the object i getting back is not changed status still 'not shipped' ?


anyine a idea ?

3 comments

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 283 moderator

    Hi @rudiwer,

    Thank you for reaching out to us.

    I've tested this out in my test environment and with the code below it updated the shipment as expected.

    If you want I can create a ticket for further investigation on your order and shipmentStatus.

  • TimothyTimothy Member Posts: 6

    @rudiwer I have noticed that if your shop doesn't automatically generate invoices, then you can't update the shipment status of an order. The invoice configuration can be changed via "admin/settings/administration".

    @LucienVersendaal That doesn't seem like normal behaviour to me.

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 283 moderator

    @Timothy

    The invoice settings need to be checked.

    @rudiwer

    Can you give me your shop number and order number, so I can test this.

Sign In or Register to comment.