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>"
}Retrieve all orders of products from shop.
shop.readonly or shopcurl --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>"
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
The id of the location.
The number of items to return
1 <= x <= 100nextPageToken retrieved from a previous request
OK
Show child attributes
Show child attributes
The amount of the payment
The currency code of the payment
The reference ID of the invoice item
succeeded, pending, processing, canceled, failed The reference ID of the transaction
credits, dayPasses, external, flow, fondy, freedompay, invoice, kakaopay, mercadopago, paypal, paystack, plata, stripe, tap, wayforpay new, inProgress, completed, canceled