question

crod93 avatar image
crod93 asked David Marginian Deactivated answered

Can't update the price of a line item using the REST API?

I am attempting to update the price of a line item using

/v3/merchants/mId/orders/orderId/line_items/lineItemId

However once the call is made the price remains the same, is this a bug or am I missing something?


My payload, mId, orderId, lineItemId, price.

OrdersREST APILineItems
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Showing a complete example of the HTTP request and response would be helpful. E.g., using the curl command line, with "-v" option.

0 Likes 0 ·

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

As Jeff said you need to provide details of you want help. Does your line item reference a Clover inventory item? If so, i believe the line_items endpoint will always use the price of that item.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community