Get an offer
Returns a single offer, including its categories and item count.
Availability: Full version only — a Clock instance answers 404 for this endpoint.
Request
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/offers/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'Path parameters
- Name
id- Type
- integer
- Description
The offer ID
Response
{
"data": {
"id": 1,
"name": "EU",
"customer_id": 1,
"customer_contact_id": 789,
"department_id": 1,
"project_id": 16,
"ticket_id": 1234,
"title": "Dr.",
"note": "Familienurlaub",
"version": "2.0",
"status": {
"id": 1,
"name": "neu"
},
"status_since": "2024-08-27T14:27:01.000000Z",
"responsible_username": "string",
"processor_username": "frank",
"is_net": 0,
"currency": "EUR",
"default_validity": 30,
"valid_until": "2024-11-30T00:00:00.000000Z",
"order_date": "2026-01-31T09:00:00.000000Z",
"address": "Musterstraße 123",
"keywords": {},
"language": "de",
"realization_from": "2025-01-01T00:00:00.000000Z",
"realization_until": "2025-03-31T00:00:00.000000Z",
"categories": [
{
"name": "EU",
"description": {
"de": "string",
"en": "string",
"fr": "string",
"es": "string",
"pl": "string"
},
"type": {
"id": "string",
"name": "Mitarbeiter/in"
}
}
],
"items_count": 1,
"order_probability_percent": 50
}
}Response fields
- Name
id- Type
- integer
- Description
The offer’s unique identifier.
- Name
name- Type
- string, nullable
- Description
The offer’s number, used as its human-readable identifier.
- Name
customer_id- Type
- integer, nullable
- Description
The id of the customer this offer was written for.
- Name
customer_contact_id- Type
- integer, nullable
- Description
The id of the customer contact this offer addresses, if any.
- Name
department_id- Type
- integer, nullable
- Description
The id of the department that created this offer.
- Name
project_id- Type
- integer, nullable
- Description
The id of the project this offer is linked to, if any.
- Name
ticket_id- Type
- integer, nullable
- Description
The id of the ticket this offer originated from, if any.
- Name
title- Type
- string
- Description
The offer’s title, as shown to the customer.
- Name
note- Type
- string, nullable
- Description
Internal notes about the offer, not shown to the customer.
- Name
version- Type
- string, nullable
- Description
The offer’s version number, incremented each time it is revised.
- Name
status- Type
- object
- Description
The offer’s status in its lifecycle (e.g. new, ordered, declined).
- Name
status.id- Type
- integer
- Description
The stored value. Compare against this, not against name.
- Name
status.name- Type
- string
- Description
The human-readable label, delivered in the tenant’s language. Do not parse it.
One of:
"neu","in Arbeit","Finished","in Prüfung","Reviewed","Dokument erstellt","Offered as mail","Offered as letter","Ordered","bestätigt","Transferred to project","Settled","Declined"
- Name
status_since- Type
- string (date-time), nullable
- Description
The date and time the offer last changed status.
- Name
responsible_username- Type
- string, nullable
- Description
The username of the employee responsible for this offer.
- Name
processor_username- Type
- string, nullable
- Description
The username of the employee currently processing this offer.
- Name
is_net- Type
- integer, nullable
- Description
Whether the offer’s prices are net (excluding VAT) rather than gross.
- Name
currency- Type
- string, nullable
- Description
The ISO currency code used for this offer’s prices.
- Name
default_validity- Type
- integer, nullable
- Description
The number of days this offer is valid for by default, counted from its creation.
- Name
valid_until- Type
- string (date-time), nullable
- Description
The date until which this offer is valid.
- Name
order_date- Type
- string (date-time), nullable
- Description
The date the customer placed the order based on this offer, if it was ordered.
- Name
address- Type
- string, nullable
- Description
The address printed on the offer document.
- Name
keywords- Type
- object, nullable
- Description
Free-text, comma-separated keywords for searching and filtering offers.
- Name
language- Type
- string, nullable
- Description
The language this offer’s document is written in.
- Name
realization_from- Type
- string (date-time), nullable
- Description
The start date of the period in which the offered work is planned to be carried out.
- Name
realization_until- Type
- string (date-time), nullable
- Description
The end date of the period in which the offered work is planned to be carried out.
- Name
categories- Type
- array of Category
- Description
The categories assigned to this offer. Present only on GET /offers/{offer}; absent on the list endpoint GET /offers.
- Name
categories.name- Type
- string
- Description
Name of the category, shown wherever an entity is tagged with it.
- Name
categories.description- Type
- object
- Description
Longer explanation of what this category should be used for.
- Name
categories.type- Type
- object
- Description
The kind of entity this category can be attached to, e.g. employee, project or customer.
- Name
items_count- Type
- integer
- Description
The number of items on this offer. Present only on GET /offers/{offer}; absent on the list endpoint GET /offers.
- Name
order_probability_percent- Type
- integer, nullable
- Description
The estimated probability, in percent, that this offer will be ordered.