AlphaAlpha Docs
API ReferencePublic purchase orders

View purchase order detail (public, token-based)

GET
/public/purchase-orders/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

token*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/public/purchase-orders/string?token=string"
{
  "canAccept": true,
  "canReject": true,
  "created": "2019-08-24T14:15:22Z",
  "currency": "string",
  "deliveryAddress": {
    "city": "string",
    "country": "string",
    "houseNumber": "string",
    "id": "string",
    "latitude": 0.1,
    "longitude": 0.1,
    "postalCode": "string",
    "street": "string"
  },
  "expectedDeliveryDate": "2019-08-24T14:15:22Z",
  "id": "string",
  "note": "string",
  "pdfAvailable": true,
  "products": [
    {
      "pricePerUnit": 0.1,
      "productName": "string",
      "quantity": 0.1,
      "remainingQuantity": 0.1,
      "totalPrice": 0.1,
      "unit": "string"
    }
  ],
  "rejectionReason": "string",
  "signatureBlobId": "string",
  "signedAt": "2019-08-24T14:15:22Z",
  "signedBy": "string",
  "status": "DRAFT",
  "totalAmount": 0.1
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}