question

zelin avatar image
zelin asked Jacob Abrams answered

Unable to add modifiers and customers to orders and line items.

I have created an order, and using following to update it.

/apisandbox.dev.clover.com/v3/merchants/{merchantId}/orders/{orderId}?access_token={access_token}

My request is app/json and POST.

{"customers":[{"id":"14CQNP21QP5BC"}]} 

However i am getting error, 4o1 unauthorized.

I am also facing difficulty as to how to add modifiers to line items using API

bulk_line_items

REST API
10 |2000

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

1 Answer

·
Jacob Abrams avatar image
Jacob Abrams answered

Check this page for tips on debugging 401 from Clover: https://medium.com/clover-platform-blog/troubleshooting-common-clover-rest-api-error-codes-9aaa8885373

How did you get your token, are you writing an android app or web app or just using a access token obtained from the merchant dashboard?

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