question

dhanaraj avatar image
dhanaraj asked chanel Deactivated answered

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

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

dhanaraj avatar image dhanaraj commented ·
@Raymond Lee please advise me.
0 Likes 0 ·

1 Answer

chanel avatar image
chanel Deactivated answered
Hi @Dhanaraj,

You can add a pre-created customer by their ID

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

{"customers": [{"id": "{
                {customerId"}]}
10 |2000

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