# How to change the status of an order

**URL:** <https://developer-forum.veeqo.com/t/how-to-change-the-status-of-an-order/1617>\
**Category:** API Queries (How To)\
**Created:** [July 8, 2025, 5:38pm UTC](https://developer-forum.veeqo.com/t/how-to-change-the-status-of-an-order/1617 "2025-07-08T17:38:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio](https://avatars.discourse-cdn.com/v4/letter/s/018950/32.png) [@Sergio](https://developer-forum.veeqo.com/u/Sergio)\
**Post date:** [July 8, 2025, 5:38pm UTC](https://developer-forum.veeqo.com/t/how-to-change-the-status-of-an-order/1617/1 "2025-07-08T17:38:19Z")

</div>

Hello everyone,

I’m connecting my store (which is stored on swell.is) through the Veeqo API.

Veeqo documentation is very outdated, and the customer support gives me contradicting information if they respond back.

My issue is that I’m unable to change any order from the “Payment Required” status to the “Ready To Ship” status.

According to “support” I have to make an additional API request including the payment. According to an old forum post I have to use the “payment” endpoint, which doesn’t exists.

Even after I allocate the products the status doesn’t change.

The following are my 3 requests:

The POST request for the order creation in the “orders” endpoint:

{  
“channel\_id”:“707850”,  
“delivery\_method\_id”:“1618200”,  
“status”:“awaiting\_fulfillment”,  
“amount”:1.08,  
“payment\_attributes”:{  
“id”:“66f593e0448f9300121af564”,  
“payment\_type”:“card”,  
“reference\_number”:“”,  
“created\_at”:“2025-05-30T16:18:23.877Z”,  
“updated\_at”:“2025-05-30T16:18:31.152Z”,  
“order\_id”:“6839da43b142d2001227261e”,  
“card\_number”:“1233”,  
“created\_by\_id”:“6839da5045e28a001264fd3b”  
},  
“customer\_attributes”:{  
“phone”:“12345678900”,  
“billing\_address\_attributes”:{  
“first\_name”:“Test”,  
“last\_name”:“Sergio”,  
“address1”:“8961 Bowman Lowman Ave”,  
“city”:“Hickory”,  
“state”:“NC”,  
“zip”:“28601”,  
“country”:“US”  
}  
},  
“number”:“177200”,  
“deliver\_to\_attributes”:{  
“first\_name”:“Test”,  
“last\_name”:“Sergio”,  
“address1”:“8961 Bowman Lowman Ave”,  
“address2”:“”,  
“city”:“Hickory”,  
“country”:“US”,  
“state”:“NC”,  
“zip”:“28601”  
},  
“line\_items\_attributes”:[  
{  
“quantity”:1,  
“sellable\_id”:412607782  
},  
{  
“quantity”:1,  
“sellable\_id”:412607768  
}  
]  
}

The POST request for the allocation of the products in the "orders/[id]/allocations (otherwise the products won’t have stock in the order):

{  
“allocation”:{  
“warehouse\_id”:332699,  
“line\_items\_attributes”:[  
{  
“quantity”:1,  
“sellable\_id”:412607782  
},  
{  
“quantity”:1,  
“sellable\_id”:412607768  
}  
]  
}  
}

And this is the PUT request for the payment information in the endpoint “orders:[id]”:

{  
“amount”:1.08,  
“payment\_attributes”:{  
“id”:“66f593e0448f9300121af564”,  
“payment\_type”:“card”,  
“reference\_number”:“”,  
“created\_at”:“2025-05-30T16:18:23.877Z”,  
“updated\_at”:“2025-05-30T16:18:31.152Z”,  
“order\_id”:“6839da43b142d2001227261e”,  
“card\_number”:“1233”,  
“created\_by\_id”:“6839da5045e28a001264fd3b”  
}  
}

Any help will be appreciated.

---

<div class="post-metadata">

**Author:** ![Alex-Veeqo](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/alex-veeqo/32/416_2.png) [@Alex-Veeqo](https://developer-forum.veeqo.com/u/Alex-Veeqo)\
**Post date:** [July 9, 2025, 4:18pm UTC](https://developer-forum.veeqo.com/t/how-to-change-the-status-of-an-order/1617/2 "2025-07-09T16:18:00Z")

</div>

Hey @Sergio,

I was able to add a payment to an order with the ‘Payment Required’ status by using the `/payments` endpoint (which is currently undocumented) with with the order ID and payment type in the body of the request. After I made the request, the order was put into the ‘Ready To Ship’ status.

The URL of my request was:  
`POST https://api.veeqo.com/payments`

The payload of my request looked like this:

```auto
{
  "payment_attributes": {
    "payment_type": "credit_card",
    "order_id": 123456789,
    "reference_number": "P-888888",
    "card_number": "1234567890123"
  }, 
  "amount": 10.99
}

```

I would suggest giving the `/payments` endpoint a go and seeing if that works for you. If you are still having trouble, contact Veeqo Support via the support messenger in the Veeqo app or contacting [helpme@support.veeqo.com](mailto:helpme@support.veeqo.com)

Hope this helps,  
Alex - Veeqo
