Both https://api.brevo.com/v3/orders/status and https://api.brevo.com/v3/orders/status/batch
When I create an order, I get 202 for batch and 204 for the non-batch but But it doesn’t create the order. Sometimes it do minutes or hours later, sometimes it’s never. Unstable.
Example json:
{
"id": "dummy_01_abcd",
"createdAt": "2024-01-01T12:00:00.00Z",
"updatedAt": "2024-01-01T12:00:00.00Z",
"status": "completed",
"amount": 100.0,
"products": [
{
"productId": "123_dummyProduct",
"quantity": 2,
"price": 50.0
}
],
"email": "dummy@example.com",
"billing": {
"address": "Dummy Street 1",
"city": "Sample City",
"countryCode": "XX",
"phone": "+1234567890",
"postCode": "0000",
"paymentMethod": "card"
}
}
Got 204 response for it but the order is nowhere when I get the getorders endpoint or check in the app.