question

Dhanaraj avatar image
Dhanaraj asked ·

how to update order with customer details in rest api.

I have already created the order. I want to update the order with customer details. is it possible in Rest API.

OrdersREST APICustomers
1 comment
10 |2000 characters needed characters left characters exceeded

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

@Raymond Lee please advise me.
0 Likes 0 · ·

1 Answer

Chanel avatar image
Chanel answered ·
Hi @Dhanaraj,

You can add a pre-created customer by their ID

POST {
                {url}}/v3/merchants/{
                {mId}}/orders/{
                {orderId}}

{"customers": [{"id": "{
                {customerId"}]}
Share
10 |2000 characters needed characters left characters exceeded

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