Documentation Powered by Redocly

# flows/flows_lisek_filtered Mitmproxy2Swagger (1.0.0)

Download OpenAPI specification:Download

## GET mobileversion

### Responses

The default server

https://api2.lisek.app/api/mobileversion

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "platform": "string",
    - "minVersion": "string",
    - "appCode": "string"
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET darkstores

### Responses

The default server

https://api2.lisek.app/api/darkstores

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "id": 0,
    - "name": "string",
    - "identifier": "string",
    - "virtual": true,
    - "address":
      {
      - "id": 0,
      - "street": "string",
      - "streetNo": "string",
      - "city": "string",
      - "doorNo": "string",
      - "floor": "string",
      - "latitude": 0,
      - "longitude": 0,
      - "postalCode": "string",
      - "porch": "string",
      - "comments": "string",
      - "courierComment": "string",
      - "isCurrent": true,
      - "isCurrentNotVirtual": true,
      - "label": { },
      - "isVirtual": true
      },
    - "area":
      [
      - "string"
      ],
    - "openingTime":
      {
      - "openHour": 0,
      - "openMinute": 0,
      - "closeHour": 0,
      - "closeMinute": 0
      },
    - "courierSplitEnabled": true,
    - "sortKey": 0,
    - "sliderId": 0,
    - "available": true,
    - "unavailableMessage": "string",
    - "unavailableUntilTime": { },
    - "orderStackingEnabled": "string"
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST login

##### Request Body schema: application/json

Token | string
GrantType | string

### Responses

The default server

https://api2.lisek.app/api/users/login

### Request samples

- Payload

Content type
application/json
`
{

- "Token": "string",
- "GrantType": "string"

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "token": "string",
  - "refreshToken": "string",
  - "expires": 0,
  - "user":
    {
    - "id": 0,
    - "email": "string",
    - "firstname": "string",
    - "lastname": "string",
    - "phone": "string",
    - "newsletter": true,
    - "sendInfo": true,
    - "roles":
      [
      - "string"
      ],
    - "franchises":
      [
      - null
      ]
    }
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET darkstores by id

##### path Parameters

id required | string

### Responses

The default server

https://api2.lisek.app/api/darkstores/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "area": "string"
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET profile

### Responses

The default server

https://api2.lisek.app/api/users/profile

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "firstName": "string",
  - "lastName": "string",
  - "phone": "string",
  - "dateOfBirth": "string",
  - "email": "string",
  - "newsletter": true,
  - "sendInfo": true,
  - "smsCode": { }
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET addresses

### Responses

The default server

https://api2.lisek.app/api/addresses

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - null
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET favourites

### Responses

The default server

https://api2.lisek.app/api/favourites

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - null
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST setlocation

##### Request Body schema: application/json

latitude | number
longitude | number

### Responses

The default server

https://api2.lisek.app/api/basket/setlocation

### Request samples

- Payload

Content type
application/json
`
{

- "latitude": 0,
- "longitude": 0

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": { },
  - "address": { },
  - "darkstoreId": 0,
  - "items":
    [
    - null
    ],
  - "coupons":
    [
    - null
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET darkstores by lat

##### path Parameters

lat required | string
lon required | string

### Responses

The default server

https://api2.lisek.app/api/darkstores/{lat}/{lon}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "name": "string",
  - "identifier": "string",
  - "virtual": true,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": "string",
    - "comments": { },
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "area": { },
  - "openingTime":
    {
    - "openHour": 0,
    - "openMinute": 0,
    - "closeHour": 0,
    - "closeMinute": 0
    },
  - "courierSplitEnabled": true,
  - "sortKey": 0,
  - "sliderId": 0,
  - "available": true,
  - "unavailableMessage": "string",
  - "unavailableUntilTime": { },
  - "orderStackingEnabled": "string"
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET transactionsettings

### Responses

The default server

https://api2.lisek.app/api/transactionsettings

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "discountThreshold": 0,
  - "maxWeight": 0,
  - "minOrder": 0,
  - "freeShippingThreshold": 0,
  - "deliveryCost": 0,
  - "discountPercent": 0,
  - "maxStackSize": 0,
  - "maxStackTimeInMins": 0,
  - "startStackFromClosest": true,
  - "paperBagEan": "string",
  - "paperBagFee": 0,
  - "paperBagPerXItems": 0,
  - "paperBagPerXPrice": { },
  - "paperBagInfiniteStock": true,
  - "alcoholCategories": "string"
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET full by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/inventory/{id}/full

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "name": "string",
    - "key": "string",
    - "number": 0,
    - "order": 0,
    - "imagePath": "string",
    - "iconPath": { },
    - "parentId": { },
    - "alcohol": true,
    - "backgroundColor": "string",
    - "subCategories":
      [
      - {
        - "name": "string",
        - "key": { },
        - "number": 0,
        - "order": 0,
        - "imagePath": "string",
        - "iconPath": { },
        - "parentId": 0,
        - "alcohol": true,
        - "backgroundColor": "string",
        - "subCategories":
          [
          - null
          ],
        - "products":
          [
          - {
            - "quantity": 0,
            - "ean": "string",
            - "maxQuantity": 0,
            - "headline": "string",
            - "title": "string",
            - "subTitle": "string",
            - "price": 0,
            - "packInfo": "string",
            - "imagePath": "string",
            - "isHit": true,
            - "isPromo": true,
            - "priceBeforePromo": { },
            - "promoText": "string",
            - "isNew": true,
            - "isCold": true,
            - "showOutOfStock": true,
            - "weight": "string",
            - "vat": 0,
            - "categoryId": 0,
            - "subCategoryId": { },
            - "subCategoryName": { },
            - "id": 0
            }
          ],
        - "id": 0
        }
      ],
    - "products":
      [
      - null
      ],
    - "id": 0
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET stocks by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/inventory/{id}/stocks

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "e": "string",
    - "q": 0
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET sliders by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/sliders/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "link": "string",
    - "type": 0,
    - "position": 0,
    - "categoryId": { },
    - "mainCategoryId": { }
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST push

##### Request Body schema: application/json

token | string
platform | string
appVersion | string

### Responses

The default server

https://api2.lisek.app/api/push

### Request samples

- Payload

Content type
application/json
`
{

- "token": "string",
- "platform": "string",
- "appVersion": "string"

}`

### Response samples

- 200

Content type
application/json
`
{

- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET promo by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/inventory/promo/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "ean": "string",
    - "type": "string"
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST code

##### Request Body schema: application/json

phone | string

### Responses

The default server

https://api2.lisek.app/api/users-sms/code

### Request samples

- Payload

Content type
application/json
`
{

- "phone": "string"

}`

### Response samples

- 200

Content type
application/json
`
{

- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST login

##### Request Body schema: application/json

phone | string
code | string

### Responses

The default server

https://api2.lisek.app/api/users-sms/login

### Request samples

- Payload

Content type
application/json
`
{

- "phone": "string",
- "code": "string"

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "token": "string",
  - "refreshToken": "string",
  - "expires": 0,
  - "user":
    {
    - "id": 0,
    - "email": "string",
    - "firstname": "string",
    - "lastname": "string",
    - "phone": "string",
    - "newsletter": true,
    - "sendInfo": true,
    - "roles":
      [
      - "string"
      ],
    - "franchises":
      [
      - null
      ]
    }
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET user by id

##### path Parameters

id required | number
id1 required | number
id2 required | number

##### query Parameters

active | string

### Responses

The default server

https://api2.lisek.app/api/orders/user/{id}/{id1}/{id2}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "page": 0,
  - "pageSize": 0,
  - "count": 0,
  - "items":
    [
    - null
    ]
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST setaddress by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/basket/setaddress/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": 0,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "darkstoreId": 0,
  - "items":
    [
    - {
      - "ean": "string",
      - "title": "string",
      - "subtitle": "string",
      - "imagePath": "string",
      - "quantity": 0,
      - "quantityAvailable": 0,
      - "price": 0,
      - "insufficientStock": true,
      - "stockItemId": 0,
      - "vat": 0,
      - "weight": 0,
      - "maxQuantity": 0,
      - "isRemovable": true,
      - "isExcludedFromDiscount": true,
      - "isFreebie": true,
      - "id": 0
      }
    ],
  - "coupons":
    [
    - null
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST basket add

##### Request Body schema: application/json

ean | string
quantity | number

### Responses

The default server

https://api2.lisek.app/api/basket/add

### Request samples

- Payload

Content type
application/json
`
{

- "ean": "string",
- "quantity": 0

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": 0,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "darkstoreId": 0,
  - "items":
    [
    - {
      - "ean": "string",
      - "title": "string",
      - "subtitle": "string",
      - "imagePath": "string",
      - "quantity": 0,
      - "quantityAvailable": 0,
      - "price": 0,
      - "insufficientStock": true,
      - "stockItemId": 0,
      - "vat": 0,
      - "weight": 0,
      - "maxQuantity": 0,
      - "isRemovable": true,
      - "isExcludedFromDiscount": true,
      - "isFreebie": true,
      - "id": 0
      }
    ],
  - "coupons":
    [
    - null
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST remove

##### query Parameters

basketItemId | number

##### Request Body schema: application/json

ean | string
quantity | number

### Responses

The default server

https://api2.lisek.app/api/basket/remove

### Request samples

- Payload

Content type
application/json
`
{

- "ean": "string",
- "quantity": 0

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": 0,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "darkstoreId": 0,
  - "items":
    [
    - {
      - "ean": "string",
      - "title": "string",
      - "subtitle": "string",
      - "imagePath": "string",
      - "quantity": 0,
      - "quantityAvailable": 0,
      - "price": 0,
      - "insufficientStock": true,
      - "stockItemId": 0,
      - "vat": 0,
      - "weight": 0,
      - "maxQuantity": 0,
      - "isRemovable": true,
      - "isExcludedFromDiscount": true,
      - "isFreebie": true,
      - "id": 0
      }
    ],
  - "coupons":
    [
    - null
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST checkouts

### Responses

The default server

https://api2.lisek.app/api/basket/checkouts

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "estimatedWaitTimeInMinutes": { },
  - "canDeliver": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET ordertips

### Responses

The default server

https://api2.lisek.app/api/v1/ordertips

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - 0
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET methods

##### query Parameters

extended | number

### Responses

The default server

https://api2.lisek.app/api/payu/methods

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "payByLinks":
    [
    - {
      - "value": "string",
      - "name": "string",
      - "brandImageUrl": "string",
      - "status": "string",
      - "minAmount": 0,
      - "maxAmount": 0
      }
    ],
  - "cardTokens":
    [
    - null
    ],
  - "pexTokens":
    [
    - null
    ]
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET coupons

### Responses

The default server

https://api2.lisek.app/api/coupons

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - null
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET scheduleslots by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/scheduleslots/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  [
  - {
    - "id": 0,
    - "date": 0,
    - "hour": 0,
    - "minutes": 0,
    - "status": "string",
    - "size": 0,
    - "free": 0,
    - "configurationId": 0
    }
  ],
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST coupons activate by promocode

##### path Parameters

promocode required | string

### Responses

The default server

https://api2.lisek.app/api/coupons/activate/{promocode}

### Response samples

- 200

Content type
application/json
`
{

- "value": { },
- "success": true,
- "errors":
  [
  - {
    - "code": "string",
    - "message": "string",
    - "translateKey": "string"
    }
  ]

}`

## POST coupons attach by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/basket/coupons/attach/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": 0,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "darkstoreId": 0,
  - "items":
    [
    - {
      - "ean": "string",
      - "title": "string",
      - "subtitle": "string",
      - "imagePath": "string",
      - "quantity": 0,
      - "quantityAvailable": 0,
      - "price": 0,
      - "insufficientStock": true,
      - "stockItemId": 0,
      - "vat": 0,
      - "weight": 0,
      - "maxQuantity": 0,
      - "isRemovable": true,
      - "isExcludedFromDiscount": true,
      - "isFreebie": true,
      - "id": 0
      }
    ],
  - "coupons":
    [
    - {
      - "id": 0,
      - "name": "string",
      - "display": "string",
      - "description": "string",
      - "validTill": "string",
      - "validFrom": "string",
      - "freeShipping": true,
      - "noPaperBags": true,
      - "fixedDiscount": 0,
      - "percentDiscount": 0,
      - "referal": true,
      - "gift": true,
      - "valid": { },
      - "minOrderValue": 0,
      - "calculatedDiscount": { }
      }
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET basket

### Responses

The default server

https://api2.lisek.app/api/basket

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "userId": 0,
  - "addressId": 0,
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "darkstoreId": 0,
  - "items":
    [
    - {
      - "ean": "string",
      - "title": "string",
      - "subtitle": "string",
      - "imagePath": "string",
      - "quantity": 0,
      - "quantityAvailable": 0,
      - "price": 0,
      - "insufficientStock": true,
      - "stockItemId": 0,
      - "vat": 0,
      - "weight": 0,
      - "maxQuantity": 0,
      - "isRemovable": true,
      - "isExcludedFromDiscount": true,
      - "isFreebie": true,
      - "id": 0
      }
    ],
  - "coupons":
    [
    - {
      - "id": 0,
      - "name": "string",
      - "display": "string",
      - "description": "string",
      - "validTill": "string",
      - "validFrom": "string",
      - "freeShipping": true,
      - "noPaperBags": true,
      - "fixedDiscount": 0,
      - "percentDiscount": 0,
      - "referal": true,
      - "gift": true,
      - "valid": { },
      - "minOrderValue": 0,
      - "calculatedDiscount": { }
      }
    ],
  - "itemTotal": 0,
  - "total": 0,
  - "delivery": 0,
  - "standardDeliveryCost": 0,
  - "freeShippingThreshold": 0,
  - "discountThreshold": 0,
  - "discountValue": 0,
  - "discountDelivery": 0,
  - "discountFromCrossingThreshold": 0,
  - "totalForThresholdDiscount": 0,
  - "totalForFreeShipping": 0,
  - "totalWithoutDiscount": 0,
  - "isDiscountThresholdCrossed": true,
  - "isFreeShipping": true,
  - "paperBagFee": 0,
  - "checkoutTrialDate": { },
  - "insufficientStock": true,
  - "totalWeight": 0,
  - "isBanned": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET detail by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/couriers/{id}/available/detail

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "estimatedWaitTimeInMinutes": 0,
  - "canDeliver": true
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST orders by id

##### path Parameters

id required | string

### Responses

The default server

https://api2.lisek.app/api/orders/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "estimatedWaitTimeInMinutes": { },
  - "orderId": 0,
  - "canDeliver": true,
  - "paymentId": { }
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET orders by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/orders/{id}

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "id": 0,
  - "courier": { },
  - "customer":
    {
    - "id": 0,
    - "firstname": "string",
    - "lastname": "string",
    - "phone": "string",
    - "email": "string"
    },
  - "address":
    {
    - "id": 0,
    - "street": "string",
    - "streetNo": "string",
    - "city": "string",
    - "doorNo": "string",
    - "floor": "string",
    - "latitude": 0,
    - "longitude": 0,
    - "postalCode": "string",
    - "porch": { },
    - "comments": "string",
    - "courierComment": { },
    - "isCurrent": true,
    - "isCurrentNotVirtual": true,
    - "label": { },
    - "isVirtual": true
    },
  - "pendingRefund": 0,
  - "refunded": 0,
  - "total": 0,
  - "discount": 0,
  - "delivery": 0,
  - "printed": true,
  - "items":
    [
    - {
      - "id": 0,
      - "name": "string",
      - "quantity": 0,
      - "price": 0,
      - "returned": true,
      - "onReceipt": true,
      - "product":
        {
        - "ean": "string",
        - "headline": "string",
        - "title": "string",
        - "subTitle": "string",
        - "weight": "string",
        - "imagePath": "string",
        - "alcohol": true
        },
      - "pickInfo":
        {
        - "shelf": 0,
        - "level": 0,
        - "levelColor": "string",
        - "path": 0
        },
      - "quantityAvailable": 0
      }
    ],
  - "darkstore":
    {
    - "id": 0,
    - "name": "string",
    - "identifier": "string",
    - "virtual": true,
    - "address":
      {
      - "id": 0,
      - "street": "string",
      - "streetNo": "string",
      - "city": "string",
      - "doorNo": "string",
      - "floor": "string",
      - "latitude": 0,
      - "longitude": 0,
      - "postalCode": "string",
      - "porch": "string",
      - "comments": { },
      - "courierComment": { },
      - "isCurrent": true,
      - "isCurrentNotVirtual": true,
      - "label": { },
      - "isVirtual": true
      },
    - "area": { },
    - "openingTime": { },
    - "courierSplitEnabled": true,
    - "sortKey": 0,
    - "sliderId": 0,
    - "available": true,
    - "unavailableMessage": { },
    - "unavailableUntilTime": { },
    - "orderStackingEnabled": "string",
    - "isVirtualSplitEnabled": true
    },
  - "status": "string",
  - "paymentStatus": "string",
  - "tipPaymentStatus": { },
  - "tipAmount": { },
  - "feedback": { },
  - "deliveryDistance": 0,
  - "customerTotalOrderCount": 0,
  - "customerTotalSpent": 0,
  - "customerLastOrderDate": { },
  - "date": 0,
  - "acceptDate": { },
  - "atLocationDate": { },
  - "deliveryDate": { },
  - "pickingDate": { },
  - "pickingCompletedDate": { },
  - "paymentCompletedDate": { },
  - "courierNotifiedDate": { },
  - "courierReturnDate": { },
  - "estimatedDeliveryTime": { },
  - "courierTimerStartDate": { },
  - "scheduled": true,
  - "canWait": true,
  - "alcohol": true,
  - "ageVerification": { },
  - "scheduleSlot": { },
  - "courierDetail": { },
  - "coupons":
    [
    - {
      - "id": 0,
      - "name": "string",
      - "display": "string",
      - "description": "string",
      - "validTill": "string",
      - "validFrom": "string",
      - "freeShipping": true,
      - "noPaperBags": true,
      - "fixedDiscount": 0,
      - "percentDiscount": 0,
      - "referal": true,
      - "gift": true,
      - "valid": { },
      - "minOrderValue": 0,
      - "calculatedDiscount": { }
      }
    ],
  - "deliveryEstimations":
    [
    - null
    ],
  - "returns": { },
  - "darkstorePickingZone": { },
  - "deliveryTimes":
    {
    - "communicatedDelayToRidingTime": 0,
    - "actualDelayToRidingTime": 0,
    - "orderAcceptTime": 0,
    - "pickingTime": 0,
    - "atPickerStationTime": 0,
    - "ridingTime": 0,
    - "atLocationTime": 0,
    - "returnTime": 0,
    - "deliveryTime": 0,
    - "totalToCustomerTime": 0,
    - "courierCycleTime": 0
    },
  - "picker": true,
  - "darkstoreId": 0,
  - "darkstoreName": "string",
  - "cancelReason": { },
  - "stackId": { },
  - "isVip": true,
  - "isLongDistance": true,
  - "color": { },
  - "zoneNumber": { }
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST orders by id

##### path Parameters

id required | number

##### query Parameters

extended | number

##### Request Body schema: application/json

continueUrl | string
| object

### Responses

The default server

https://api2.lisek.app/api/payu/orders/{id}

### Request samples

- Payload

Content type
application/json
`
{

- "continueUrl": "string",
- "paymentMethod":
  {
  - "type": "string",
  - "authorizationCode": "string",
  - "blikData":
    {
    - "register": true
    }
  }

}`

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "status":
    {
    - "statusCode": "string"
    },
  - "redirectUri": { },
  - "orderId": "string"
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## GET estimateddeliverydate by id

##### path Parameters

id required | number

### Responses

The default server

https://api2.lisek.app/api/orders/{id}/estimateddeliverydate

### Response samples

- 200

Content type
application/json
`
{

- "value":
  {
  - "estimatedDeliveryDate": "string",
  - "calculationInfo": "string"
  },
- "success": true,
- "errors":
  [
  - null
  ]

}`

## POST active

### Responses

The default server

https://api2.lisek.app/api/users/active

### Response samples

- 200

Content type
application/json
`
{

- "success": true,
- "errors":
  [
  - null
  ]

}`