GET
/
v1
/
orders
/
bulk
/
{id}
curl --request GET \
  --url https://api.sandbox.usenash.com/v1/orders/bulk/{id}
{
  "status": "SUCCESS",
  "summary": {
    "failedOperations": 1,
    "successfulOperations": 4,
    "totalOperations": 5
  },
  "results": [
    {
      "action": "upsert",
      "errorMessage": null,
      "id": "ord_1234567890",
      "status": "success"
    },
    {
      "action": "delete",
      "errorMessage": null,
      "id": "ord_0987654321",
      "status": "success"
    },
    {
      "action": "delete",
      "errorMessage": "order with id or external_id 'ord_fake_does_not_exist' does not exist, error_code=MISSING_RESOURCE",
      "id": "ord_fake_does_not_exist",
      "status": "error"
    }
  ]
}

Path Parameters

id
string
required

The ID of the bulk operation

Response

200
application/json
OK

Bulk Operation Response for Orders.

status
enum<string>
required

The status of the bulk operation

Available options:
QUEUED,
IN_PROGRESS,
SUCCESS,
FAILED,
CANCELLED,
SKIPPED,
SCHEDULED
summary
object
required

The summary of the bulk operation

results
object[]
required

The results of the bulk operation