Discussions

Ask a Question
Back to All

Can not complete status of order

Hi,

When i use developer endpoint API to create order,

my json:

{
"customer": {
"address": {
"street1": "Legacy Dr",
"city": "Anchorage",
"postalCode": "99516",
"stateCode": "AK"
},
"dateOfBirth": {
"day": 12,
"month": 9,
"year": 1997
},
"email": "[email protected]",
"firstName": "Nguyen",
"lastName": "Binh"
},
"shipToAddress": {
"country": "US",
"linkedAddress": {
"country": "US"
},
"street1": "Legacy Dr",
"city": "Anchorage",
"postalCode": "99516",
"stateCode": "AK",
"phoneNumber": "(907) 868-3634"
},
"products": [
{
"productId": "108083",
"quantity": 1
}
],
"shippingRate": {
"carrier": "UPS",
"rateCode": "03"
},
"paid": true,
"productIdType": "VS_ID"
}

and not get any errors with responses, but status order still pending. Can you help me with the question?

Thank you