---
title: "pickupCustomerOrder"
url: "https://dev-portal.dehaven.org/apis/beer-api-v1/versions/a462a401-23c6-469f-86bf-c6017a4a1733/operations/pickupCustomerOrder"
---

> Full API specification: https://dev-portal.dehaven.org/apis/beer-api-v1/versions/a462a401-23c6-469f-86bf-c6017a4a1733.md

# pickupCustomerOrder

`PUT` `/api/v1/customers/{customerId}/orders/{orderId}/pickup`

Operation ID: `pickupCustomerOrder`

Pickup Order

## Path parameters

- `customerId` (string, uuid, required) - Customer Id
- `orderId` (string, uuid, required) - Order Id

## Responses

- `204` - No Content
- `400` - Bad Reqeust
- `404` - Not Found
- `409` - Conflict

## OpenAPI definition

```yaml
openapi: 3.0.2
info:
  title: SFG Brewery API
  version: "1.3"
servers:
  - url: http://localhost:8080
    description: Local Host
  - url: http://api.springframework.guru
    description: Demo API
paths:
  /api/v1/customers/{customerId}/orders/{orderId}/pickup:
    parameters:
      - $ref: "#/components/parameters/CustomerId"
      - $ref: "#/components/parameters/OrderId"
    put:
      description: Pickup Order
      operationId: pickupCustomerOrder
      tags:
        - Order Service
      responses:
        "204":
          description: No Content
        "400":
          description: Bad Reqeust
        "404":
          description: Not Found
        "409":
          description: Conflict
components:
  parameters:
    CustomerId:
      name: customerId
      in: path
      description: Customer Id
      required: true
      schema:
        type: string
        format: uuid
    OrderId:
      name: orderId
      in: path
      description: Order Id
      required: true
      schema:
        type: string
        format: uuid
```
