POST
/
public-api
/
v1
/
order
{
  "id": "2fc7f5be-406f-11ee-be56-0242ac120002",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "internalId": "fd932a99-030a-4c44-8913-6e84bf5d0ac3",
  "internalNumber": "1042",
  "internalCreatedAt": "2023-11-07T05:31:56Z",
  "customer": {
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "email": "[email protected]",
    "firstName": "Ivan",
    "lastName": "Ivanov",
    "phone": "+359888888888",
    "address1": "ul. Panayot Hitov 62",
    "address2": "<string>",
    "city": "Sofia",
    "country": "Bulgaria",
    "postalCode": "1000"
  },
  "lineItems": [
    {
      "id": "5f4b772a-406f-11ee-be56-0242ac120002",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "Cute Pillow",
      "quantity": 1,
      "price": 15000,
      "vatRate": 20,
      "vatGroup": "GROUP_B",
      "discount": 1000
    }
  ],
  "paymentType": "PAYMENT_PROCESSOR",
  "paymentProcessorName": "Stripe",
  "transactionId": "ch_1J2L3K4M5N6O7P8Q9R0S1T2U",
  "currency": "BGN"
}

Headers

x-signature
string
required

Signed payload with Take a NAP API secret

x-api-key
string
required

Take a NAP API key

Body

application/json

Response

200
application/json

Order created

The response is of type object.