Skip to content

My store reservations (customer)​

GET
/store-reservations

The authenticated customer's own reservations, newest first. Each item carries its accessToken.

Auth: Bearer JWT required (realm: customer).

Authorizations​

bearerAuth

Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.

Type
HTTP (bearer)

Parameters​

Query Parameters

page
Type
integer
Minimum
1
Default
1
limit
Type
integer
Minimum
1
Maximum
50
Default
20

Responses​

Paginated reservations

application/json
JSON
{
  
"ok": true,
  
"data": {
  
  
"items": [
  
  
  
{
  
  
  
  
"reservationId": "rsv_3f9a0c1b2d4e5f6a7b8c9d0e",
  
  
  
  
"reservationNumber": "R-7KQ2MX",
  
  
  
  
"status": "pending",
  
  
  
  
"quantity": 0,
  
  
  
  
"unitPrice": 0,
  
  
  
  
"compareAtPrice": 0,
  
  
  
  
"product": {
  
  
  
  
  
"productId": "string",
  
  
  
  
  
"variantId": "string",
  
  
  
  
  
"title": "string",
  
  
  
  
  
"variantLabel": "Noir / 42",
  
  
  
  
  
"imageUrl": "string"
  
  
  
  
},
  
  
  
  
"store": {
  
  
  
  
  
"storeId": "string",
  
  
  
  
  
"name": "string",
  
  
  
  
  
"city": "string",
  
  
  
  
  
"address": "string",
  
  
  
  
  
"phone": "string",
  
  
  
  
  
"openingHours": "string"
  
  
  
  
},
  
  
  
  
"vendor": {
  
  
  
  
  
"vendorId": "string",
  
  
  
  
  
"name": "string"
  
  
  
  
},
  
  
  
  
"customer": {
  
  
  
  
  
"firstName": "string",
  
  
  
  
  
"lastName": "string",
  
  
  
  
  
"phone": "+21622123456",
  
  
  
  
  
"email": "string"
  
  
  
  
},
  
  
  
  
"note": "string",
  
  
  
  
"expiresAt": "2024-01-01T00:00:00Z",
  
  
  
  
"createdAt": "2024-01-01T00:00:00Z",
  
  
  
  
"confirmedAt": "2024-01-01T00:00:00Z",
  
  
  
  
"readyAt": "2024-01-01T00:00:00Z",
  
  
  
  
"collectedAt": "2024-01-01T00:00:00Z",
  
  
  
  
"cancelledAt": "2024-01-01T00:00:00Z",
  
  
  
  
"accessToken": "string"
  
  
  
}
  
  
],
  
  
"pagination": {
  
  
  
"page": 0,
  
  
  
"limit": 0,
  
  
  
"total": 0,
  
  
  
"totalPages": 0
  
  
}
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai