GET
/
v1
/
order_batches
/
{id}
/
orders
curl --request GET \
  --url https://api.ongoody.com/v1/order_batches/{id}/orders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "ba771c00-e9c9-409e-aa73-353164386bcf",
      "status": "created",
      "individual_gift_link": "https://gifts.ongoody.com/gift/U7WP74LGL2FTLY7TJF7NB2TJ",
      "recipient_first_name": "Alena",
      "recipient_last_name": "Kenter",
      "recipient_email": "alena@ongoody.com",
      "card_id": "33f1ff92-a017-4832-b50b-663a9ebb683b",
      "message": "Test Message",
      "thank_you_note": null,
      "view_count_recipient": 0,
      "is_swapped": false,
      "order_batch_id": "1c571d09-7811-4c80-9a98-06e287a8cfa0",
      "expires_at": null,
      "cart": {
        "id": "32e53c5d-5173-45a0-8c28-063d1ab53dce",
        "items": [
          {
            "id": "56537cca-c993-4178-8e60-e7ca44e7dfee",
            "quantity": 1,
            "product": {
              "id": "396c6e93-e2e2-48bc-bea9-11cce64d1a00",
              "name": "Cookies",
              "brand": {
                "id": "77b47eb6-869c-4174-bdb0-e2349050a686",
                "name": "Cookie Company"
              }
            }
          }
        ]
      },
      "shipments": [],
      "amounts": {
        "amount_product": 2000,
        "amount_shipping": 500,
        "amount_processing_fee": 0,
        "amount_pre_tax_total": 2500,
        "amount_tax": null,
        "amount_total": null,
        "amount_global_relay_cost": null
      },
      "sender": {
        "first_name": "Test",
        "last_name": "User",
        "email": "15555219355@test.ongoody.com"
      },
      "workspace_id": "8bad569e-11f9-4c5a-9836-8bcda2eaa6b9",
      "workspace_name": "Test Team",
      "original_cart": null,
      "original_amounts": null,
      "reference_id": "VNMUV4THWQGRUJKNGHPGQGTY",
      "payment_link": null
    },
    {
      "id": "090b083d-7c03-437d-8c52-9bbbcf6cf8a0",
      "status": "created",
      "individual_gift_link": "https://gifts.ongoody.com/gift/CZ9KITZSTWLTL41DNDG1JMIM",
      "recipient_first_name": "Michael",
      "recipient_last_name": "Franci",
      "recipient_email": "michael@ongoody.com",
      "card_id": "33f1ff92-a017-4832-b50b-663a9ebb683b",
      "message": "Test Message",
      "thank_you_note": null,
      "view_count_recipient": 0,
      "is_swapped": false,
      "order_batch_id": "1c571d09-7811-4c80-9a98-06e287a8cfa0",
      "expires_at": null,
      "cart": {
        "id": "32e53c5d-5173-45a0-8c28-063d1ab53dce",
        "items": [
          {
            "id": "56537cca-c993-4178-8e60-e7ca44e7dfee",
            "quantity": 1,
            "product": {
              "id": "396c6e93-e2e2-48bc-bea9-11cce64d1a00",
              "name": "Cookies",
              "brand": {
                "id": "77b47eb6-869c-4174-bdb0-e2349050a686",
                "name": "Cookie Company"
              }
            }
          }
        ]
      },
      "shipments": [],
      "amounts": {
        "amount_product": 2000,
        "amount_shipping": 500,
        "amount_processing_fee": 0,
        "amount_pre_tax_total": 2500,
        "amount_tax": null,
        "amount_total": null,
        "amount_global_relay_cost": null
      },
      "sender": {
        "first_name": "Test",
        "last_name": "User",
        "email": "15555219355@test.ongoody.com"
      },
      "workspace_id": "8bad569e-11f9-4c5a-9836-8bcda2eaa6b9",
      "workspace_name": "Test Team",
      "original_cart": null,
      "original_amounts": null,
      "reference_id": "PJ9F8LKYD7SEOHTWCA20PSSH",
      "payment_link": null
    }
  ],
  "list_meta": {
    "total_count": 2
  }
}

Authorizations

Authorization
string
headerrequired

Your Goody API key.

Path Parameters

id
string
required

Order batch ID

Query Parameters

page
integer
default: 1

Page for pagination, starting at 1

per_page
integer
default: 20

Items per page for pagination

Response

200 - application/json
data
object[]
list_meta
object