question

flxpoint avatar image
flxpoint asked David Marginian Deactivated answered

API | Associate Customer during order creation

I've seen another post about this issue, which indicated that this may not be possible.

But it was dated 2016, so I'm unsure if this has changed since then.
__
I'm currently trying to both create an order and associate a customer in the same call. I've currently only been able to Create an order > update the order with association. I'd prefer to do this in a single call. Is this possible?


Order Creation: https://sandbox.dev.clover.com/v3/merchants/F54BV0VP1BPH1/orders?access_token=57391991-9b28-90b0-8d51-b4cb888cd622

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

·
David Marginian avatar image
David Marginian Deactivated answered

With the v3 orders API, unfortunately, no this is not possible. You need to do an update to set a customer. However, setting a customer with the ecomm orders endpoint (https://docs.clover.com/reference/orders#postorders) should work.

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