Einzelnen Kunden abrufen
Mit diesem Endpunkt können Sie einen einzelnen Kunden abrufen.
Request
GET /api/v1/customers/:customer_number
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/customers/11917' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": {
"customer_number": "18512",
"name": "Runte, Mayert and Maggio",
"additional_name": null,
"website": null,
"email": "jacey.bailey@example.com",
"phone": null,
"fax": null,
"currency": "USD",
"comments": "Natus ad neque ut consequatur nam.",
"industry": "ccfa",
"tax": "0.0000",
"tax_number": null,
"iban": null,
"bic": null,
"payment_target": 60,
"payment_target_discount": 0,
"status": 0,
"created": "2024-03-25T11:10:41.000000Z",
"modified": "2024-03-25T11:10:41.000000Z",
"billing_procedure": 1,
"automated_invoicing": null,
"debit_payment": null,
"addresses": [
{
"id": 1,
"name": "Bailey, Ondricka and Dibbert",
"address": "3729 Robb River",
"zip_code": "92844-9527",
"city": "Lake Corenestad",
"country": "Sweden",
"is_default": 0,
"is_billing_address": 1,
"is_shipping_address": 0,
"email": "tierra.tremblay@example.net",
"machine_readable_invoice_dispatch": 0,
"email_cc": "wolff.elody@example.org",
"country_code": "RE"
}
],
"managers": [
{
"username": "bobbie.leffler",
"has_edit_customer_data_permission": 1,
"has_budget_responsibility_permission": 1,
"is_primary_employee": 1
}
],
"categories": [
{
"name": "sit",
"description": {
"de": "Ut nesciunt consequatur architecto nobis omnis impedit aliquam. Id expedita velit iste voluptatem sit qui maiores. Omnis dolorum sit ut ullam quisquam."
}
}
],
"dynamicAttributes": [
{
"name": "velit",
"value": "2024-03-25",
"description": {
"de": "Maiores ullam vel qui ea officia. Eius deserunt nam qui quo tenetur. Est laboriosam quisquam doloremque iusto sapiente."
}
}
],
"priceTables": [
{
"id": 1,
"start_date": "2023-05-28",
"customer_number": "18512",
"type": {
"id": "customer",
"name": "Customer Price Table"
},
"prices": [
{
"id": 6,
"price_group": "Senior",
"price": "422.13",
"price_table_id": 1
},
{
"id": 7,
"price_group": "Senior",
"price": "669.91",
"price_table_id": 1
}
],
"factors": [
{
"id": 4,
"day": {
"id": 2,
"name": "Tuesday"
},
"start_time": "11:10:49",
"end_time": "15:10:49",
"factor": "0.4400000000",
"price_table_id": 1
},
{
"id": 5,
"day": {
"id": 0,
"name": "Sunday"
},
"start_time": "11:10:49",
"end_time": "15:10:49",
"factor": "2.0000000000",
"price_table_id": 1
},
{
"id": 6,
"day": {
"id": 3,
"name": "Wednesday"
},
"start_time": "11:10:49",
"end_time": "15:10:49",
"factor": "2.3200000000",
"price_table_id": 1
},
{
"id": 7,
"day": {
"id": 6,
"name": "Saturday"
},
"start_time": "11:10:49",
"end_time": "15:10:49",
"factor": "1.8000000000",
"price_table_id": 1
}
]
}
]
}
}