Get orders

GET{{API_BASE_URL}}/shop/v1/user/:user/orders?event={{EVENT}}

This endpoint allows you to retrieve orders for a specific user based on the provided event.

Request

  • user (path): The user for whom the orders are to be retrieved.

  • event (query): The event based on which the orders are filtered.

Response

The response will contain an array of order objects, each including the following details:

  • id (string): The unique identifier of the order.

  • number (string): The order number.

  • orderedAt (string): The date and time when the order was placed.

  • orderedBy (object): Details of the user who placed the order, including salutation, first name, last name, email, company, VAT ID, and address.

  • isThirdPartyPurchase (boolean): Indicates if the purchase was made by a third party.

  • price (object): The pricing details including gross price, net price, tax, and currency.

  • status (string): The status of the order.

  • event (object): Details of the event associated with the order, including id, name, year, icon, logo, isActive, slug, and dateTimeSpan.

  • shipping (object): Details of the shipping including shipped to, shipped at, and type.

  • payment (object): Details of the payment including provider name, status, and settled at.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

event{{EVENT}}optional

The event slug

Responses#responses

200OKGet orders