GET
/
shop
/
orders
/
v1
Retrieve orders
curl --request GET \
  --url https://api.spacebring.com/shop/orders/v1 \
  --header 'Authorization: Basic <encoded-value>'
{
  "orders": [
    {
      "comment": "<string>",
      "createDate": "2023-11-07T05:31:56Z",
      "deleteDate": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "number": 123,
      "option": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "title": "<string>"
      },
      "payment": {
        "amount": 123,
        "currencyCode": "<string>",
        "invoiceItemRef": "<string>",
        "status": "succeeded",
        "tax": {
          "inclusive": true,
          "rate": 123
        },
        "transactionRef": "<string>",
        "type": "credits"
      },
      "product": {
        "createDate": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "media": [
          {
            "key": "<string>",
            "url": "<string>"
          }
        ],
        "title": "<string>"
      },
      "quantity": 123,
      "status": "new",
      "user": {
        "about": "<string>",
        "email": "<string>",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "phoneNumber": "<string>",
        "photoUrl": "<string>",
        "surname": "<string>"
      }
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Query Parameters

locationRef
string<uuid>
required

The id of the location.

createDate
object

The date filter of items.

limit
integer
default:25

The number of items to return

Required range: 1 <= x <= 100
nextPageToken
string

nextPageToken retrieved from a previous request

Response

200
application/json

OK

The response is of type object.