Cancel an order via api.

JasdeepJasdeep Member Posts: 11

Hi there,


I understand I have to follow https://developers.lightspeedhq.com/ecom/endpoints/order/#put-update-an-order for cancelling an order.

just wanted to confirm do I have to pass all of the attributes in request payload?

I tried sending the payload like below and it worked fine and cancelled the order, but I need to confirm on the below.

{

  "order": {

      "status": "cancelled"

  }

}


Regards,

Jasdeep

Sign In or Register to comment.