Download OpenAPI specification:
Returns 422 if the mechanic already has an open punch-in without a closing punch-out.
{- "id": 0,
- "shop_id": 0,
- "finance_department_id": 0,
- "finance_sequence": 0,
- "finance_car_id": 0,
- "type_id": 0,
- "employee_id": 0,
- "group_id": 0,
- "subgroup_id": 0,
- "delivery": 0,
- "allday": 0,
- "date": "2019-08-24T14:15:22Z",
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z",
- "subject": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "deleted_by": 0
}Returns 422 when no open punch-in exists.
{- "id": 0,
- "shop_id": 0,
- "finance_department_id": 0,
- "finance_sequence": 0,
- "finance_car_id": 0,
- "type_id": 0,
- "employee_id": 0,
- "group_id": 0,
- "subgroup_id": 0,
- "delivery": 0,
- "allday": 0,
- "date": "2019-08-24T14:15:22Z",
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z",
- "subject": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "deleted_by": 0
}Defaults to the current calendar month. Supply a YYYY-MM segment to query any past month.
| month required | string or null Default: null Optional. Optional month in YYYY-MM format; defaults to current month. |
{- "month": "string",
- "days": "string"
}Password change requires both password and password_confirmation fields.
The email field must remain unique across all users.
{- "status": "OK",
- "user": {
- "name": "string",
- "username": "string"
}
}Returns all non-punch calendar events assigned to the authenticated user's employee_id, formatted for FullCalendar display.
| start required | string Start date in YYYY-MM-DD format |
| end required | string End date in YYYY-MM-DD format |
[- { }
]Returns all data required to initialise the calendar view for a given shop: the shop record, available sales-state types, unlocked event types scoped to the shop (or global), and a list of calendar resources (employees, subgroups, and rental cars) with their current work-hour totals and business-hours schedules.
| id required | integer The shop ID to load resources for |
{- "shop": { },
- "states": [
- { }
], - "types": [
- { }
], - "resources": [
- { }
]
}Creates a new calendar event with the specified properties including date, time, and resource assignment. Validates input data, resolves group and employee/subgroup from the resource string, and dispatches a broadcast event to notify connected clients about the new event.
| resource required | string |
| id required | integer |
| shop_id required | integer |
| from required | string <date-time> |
| to required | string <date-time> |
{- "resource": "string",
- "id": 0,
- "shop_id": 0,
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z"
}201Retrieves all calendar events and punch-ins for the specified shop within the given date range. Events are filtered by type and formatted for FullCalendar display. Punch-ins are returned as EventsCollection-wrapped records.
| shop_id required | integer The ID of the shop to retrieve events for |
| startdate required | string The start date in YYYY-MM-DD format |
| enddate required | string The end date in YYYY-MM-DD format |
{- "events": [
- { }
], - "punchins": [
- {
- "id": "string",
- "shop_id": "string",
- "type_id": "string",
- "employee_id": "string",
- "group_id": "string",
- "subgroup_id": "string",
- "finance_department_id": "string",
- "finance_sequence": "string",
- "finance_car_id": "string",
- "delivery": "string",
- "allday": "string",
- "date": "string",
- "from": "string",
- "to": "string",
- "subject": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Updates the properties of an existing calendar event including time, date, and resource assignment. Dispatches broadcast events to notify connected clients about the removal of the old event and creation of the updated event.
| id required | integer The ID of the event to update |
| allDay | string Default: 0 |
| from | string |
| to | string |
| resource | string |
{- "allDay": 0,
- "from": "string",
- "to": "string",
- "resource": "string"
}{- "id": "string",
- "shop_id": "string",
- "type_id": "string",
- "employee_id": "string",
- "group_id": "string",
- "subgroup_id": "string",
- "finance_department_id": "string",
- "finance_sequence": "string",
- "finance_car_id": "string",
- "delivery": "string",
- "allday": "string",
- "date": "string",
- "from": "string",
- "to": "string",
- "subject": "string",
- "created_at": "string",
- "updated_at": "string"
}Removes a calendar event from the system and dispatches broadcast events to notify connected clients about the removal. Also triggers a resource availability update for the event date.
| id required | integer The ID of the event to delete |
{- "id": "string",
- "shop_id": "string",
- "type_id": "string",
- "employee_id": "string",
- "group_id": "string",
- "subgroup_id": "string",
- "finance_department_id": "string",
- "finance_sequence": "string",
- "finance_car_id": "string",
- "delivery": "string",
- "allday": "string",
- "date": "string",
- "from": "string",
- "to": "string",
- "subject": "string",
- "created_at": "string",
- "updated_at": "string"
}Duplicates an existing calendar event by creating a new event with identical properties. Dispatches a broadcast event to notify connected clients about the newly created copy.
| id required | integer The ID of the event to copy |
{- "id": "string",
- "shop_id": "string",
- "type_id": "string",
- "employee_id": "string",
- "group_id": "string",
- "subgroup_id": "string",
- "finance_department_id": "string",
- "finance_sequence": "string",
- "finance_car_id": "string",
- "delivery": "string",
- "allday": "string",
- "date": "string",
- "from": "string",
- "to": "string",
- "subject": "string",
- "created_at": "string",
- "updated_at": "string"
}Shifts an existing calendar event forward or backward by the specified number of days. Updates all date-related fields (date, from, to) and dispatches a broadcast event notifying connected clients about the removal of the event from its original position.
| id required | integer The ID of the event to move |
| days required | integer The number of days to move the event (positive for forward, negative for backward) |
{- "id": "string",
- "shop_id": "string",
- "type_id": "string",
- "employee_id": "string",
- "group_id": "string",
- "subgroup_id": "string",
- "finance_department_id": "string",
- "finance_sequence": "string",
- "finance_car_id": "string",
- "delivery": "string",
- "allday": "string",
- "date": "string",
- "from": "string",
- "to": "string",
- "subject": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all non-deleted calendar group records that are associated with
the authenticated user's selected shop, ordered by the ordering column.
{- "data": [
- {
- "id": "string",
- "active": "string",
- "shop_id": "string",
- "name": "string",
- "finance_department_id": "string",
- "ordering": "string",
- "is_rental_cars": "string",
- "employees": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Validates the request and creates a new calendar group record scoped to the authenticated user's selected shop.
| name required | string <= 255 characters |
| active | boolean or null |
| finance_department_id | integer or null |
| ordering | integer or null |
| is_rental_cars | boolean or null |
| employees | Array of strings or null |
{- "name": "string",
- "active": true,
- "finance_department_id": 0,
- "ordering": 0,
- "is_rental_cars": true,
- "employees": [
- "string"
]
}201Retrieves a single calendar group record by its primary key.
| id required | integer The ID of the calendar group to retrieve |
{- "id": "string",
- "active": "string",
- "shop_id": "string",
- "name": "string",
- "finance_department_id": "string",
- "ordering": "string",
- "is_rental_cars": "string",
- "employees": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and applies the provided fields to the specified calendar group record.
| id required | integer The ID of the calendar group to update |
| name | string <= 255 characters |
| active | boolean or null |
| finance_department_id | integer or null |
| ordering | integer or null |
| is_rental_cars | boolean or null |
| employees | Array of strings or null |
{- "name": "string",
- "active": true,
- "finance_department_id": 0,
- "ordering": 0,
- "is_rental_cars": true,
- "employees": [
- "string"
]
}{- "id": "string",
- "active": "string",
- "shop_id": "string",
- "name": "string",
- "finance_department_id": "string",
- "ordering": "string",
- "is_rental_cars": "string",
- "employees": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all non-deleted calendar event type records associated with the authenticated user's selected shop, ordered by name.
{- "data": [
- {
- "id": "string",
- "shop_id": "string",
- "active": "string",
- "name": "string",
- "description": "string",
- "exclude": "string",
- "backgroundcolor": "string",
- "textcolor": "string",
- "paid": "string",
- "unpaid": "string",
- "is_free": "string",
- "is_vacation": "string",
- "is_sick": "string",
- "is_absence": "string",
- "is_locked": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Validates the request and creates a new calendar event type record scoped to the authenticated user's selected shop.
| name required | string <= 255 characters |
| active | boolean or null |
| description | string or null |
| exclude | string or null |
| backgroundcolor | string or null <= 20 characters |
| textcolor | string or null <= 20 characters |
| paid | boolean or null |
| unpaid | boolean or null |
| is_free | boolean or null |
| is_vacation | boolean or null |
| is_sick | boolean or null |
| is_absence | boolean or null |
| is_locked | boolean or null |
{- "name": "string",
- "active": true,
- "description": "string",
- "exclude": "string",
- "backgroundcolor": "string",
- "textcolor": "string",
- "paid": true,
- "unpaid": true,
- "is_free": true,
- "is_vacation": true,
- "is_sick": true,
- "is_absence": true,
- "is_locked": true
}201Retrieves a single calendar event type record by its primary key.
| id required | integer The ID of the event type to retrieve |
{- "id": "string",
- "shop_id": "string",
- "active": "string",
- "name": "string",
- "description": "string",
- "exclude": "string",
- "backgroundcolor": "string",
- "textcolor": "string",
- "paid": "string",
- "unpaid": "string",
- "is_free": "string",
- "is_vacation": "string",
- "is_sick": "string",
- "is_absence": "string",
- "is_locked": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and applies the provided fields to the specified calendar event type record.
| id required | integer The ID of the event type to update |
| name | string <= 255 characters |
| active | boolean or null |
| description | string or null |
| exclude | string or null |
| backgroundcolor | string or null <= 20 characters |
| textcolor | string or null <= 20 characters |
| paid | boolean or null |
| unpaid | boolean or null |
| is_free | boolean or null |
| is_vacation | boolean or null |
| is_sick | boolean or null |
| is_absence | boolean or null |
| is_locked | boolean or null |
{- "name": "string",
- "active": true,
- "description": "string",
- "exclude": "string",
- "backgroundcolor": "string",
- "textcolor": "string",
- "paid": true,
- "unpaid": true,
- "is_free": true,
- "is_vacation": true,
- "is_sick": true,
- "is_absence": true,
- "is_locked": true
}{- "id": "string",
- "shop_id": "string",
- "active": "string",
- "name": "string",
- "description": "string",
- "exclude": "string",
- "backgroundcolor": "string",
- "textcolor": "string",
- "paid": "string",
- "unpaid": "string",
- "is_free": "string",
- "is_vacation": "string",
- "is_sick": "string",
- "is_absence": "string",
- "is_locked": "string",
- "created_at": "string",
- "updated_at": "string"
}Creates a new rental record for a car or updates an existing one. Returns the car resource with its associated vehicle information.
| id required | integer The ID of the car to create/update a rental for |
{- "id": "string",
- "hash": "string",
- "plate": "string",
- "vin": "string",
- "plate_type": "string",
- "country": "string",
- "vehicle_id": "string",
- "registration_status": "string",
- "last_insurance_company": "string",
- "registration_status_updated_date": "string",
- "first_registration_date": "string",
- "expire_date": "string",
- "status_updated_date": "string",
- "last_inspection_date": "string",
- "last_inspection_result": "string",
- "last_inspection_odometer": "string",
- "next_inspection_date": "string",
- "leasing_period_start": "string",
- "leasing_period_end": "string",
- "external_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "vehicle": {
- "id": "string",
- "vin": "string",
- "latest_plate": "string",
- "country": "string",
- "external_id": "string",
- "vin_location": "string",
- "type": "string",
- "type_name": "string",
- "series": "string",
- "make": "string",
- "make_id": "string",
- "model": "string",
- "model_id": "string",
- "model_year": "string",
- "model_code": "string",
- "version": "string",
- "tecdoc_id": "string",
- "tecdoc_updated": "string",
- "fuel": "string",
- "fuel_id": "string",
- "fuel_efficiency": "string",
- "variant": "string",
- "weight_total": "string",
- "weight_minimum": "string",
- "weight_maximum": "string",
- "weight_vehicle": "string",
- "weight_technical_total": "string",
- "weight_towing": "string",
- "weight_towing_brakes": "string",
- "type_approval_code": "string",
- "coupling": "string",
- "engine_type": "string",
- "engine_displacement": "string",
- "engine_hp": "string",
- "engine_power": "string",
- "engine_cylinders": "string",
- "engine_code": "string",
- "engine_top_speed": "string",
- "axles": "string",
- "drive_axles": "string",
- "doors": "string",
- "minimum_seats": "string",
- "maximum_seats": "string",
- "wheels": "string",
- "extra_equipment": "string",
- "sales_vehicle_no": "string",
- "sales_vehicle": "string",
- "use": "string",
- "color": "string",
- "body_type": "string",
- "euro_norm": "string",
- "pretty_series": "string",
- "pretty_car_name": "string",
- "pretty_car_name_short": "string"
}, - "comments": {
- "data": [
- {
- "id": "string",
- "car_id": "string",
- "text": "string",
- "created_by": "string",
- "created_at": "string"
}
]
}
}Returns all non-deleted comments for the given car, ordered oldest first.
| id required | integer Car ID |
{- "data": [
- {
- "id": "string",
- "car_id": "string",
- "text": "string",
- "created_by": "string",
- "created_at": "string"
}
]
}Creates a new comment record for the given car, scoped to the authenticated user's shop. Comment text is deduplicated via the Texts table.
| id required | integer Car ID |
| text required | string <= 5000 characters |
{- "text": "string"
}201Retrieves a list of vehicle makes/brands, optionally filtered by IDs. Returns an array of makes with their ID, name, alias, and vehicles count.
| ids | string |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "alias": "string",
- "vehicles": "string"
}
]
}Retrieves a list of vehicle models filtered by make IDs. Returns an array of models with their ID, name, alias, and vehicles count.
| ids | string |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "alias": "string",
- "vehicles": "string"
}
]
}Retrieves a list of distinct vehicle versions filtered by model IDs. Returns an array of version entries where id and version both hold the version string.
| ids | string |
{- "data": [
- {
- "id": "string",
- "version": "string"
}
]
}Retrieves car information by searching for a specific license plate in a given country. Uses the CarService to perform the lookup and returns the car details if found.
| country required | string Two-letter country code (ISO 3166-1 alpha-2) |
| plate required | string The license plate number to search for |
{- "id": 0,
- "hash": "string",
- "plate": "string",
- "vin": "string",
- "plate_type": "string",
- "country": "string",
- "vehicle_id": 0,
- "registration_status": "string",
- "last_insurance_company": "string",
- "registration_status_updated_date": "2019-08-24",
- "first_registration_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "status_updated_date": "2019-08-24",
- "last_inspection_date": "2019-08-24",
- "last_inspection_result": "string",
- "last_inspection_odometer": 0,
- "next_inspection_date": "2019-08-24",
- "leasing_period_start": "2019-08-24",
- "leasing_period_end": "2019-08-24",
- "external_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}Retrieves car information by searching for a specific VIN (Vehicle Identification Number) in a given country. Uses the CarService to perform the lookup and returns the car details if found.
| country required | string Two-letter country code (ISO 3166-1 alpha-2) |
| vin required | string The Vehicle Identification Number to search for |
{- "id": 0,
- "hash": "string",
- "plate": "string",
- "vin": "string",
- "plate_type": "string",
- "country": "string",
- "vehicle_id": 0,
- "registration_status": "string",
- "last_insurance_company": "string",
- "registration_status_updated_date": "2019-08-24",
- "first_registration_date": "2019-08-24",
- "expire_date": "2019-08-24",
- "status_updated_date": "2019-08-24",
- "last_inspection_date": "2019-08-24",
- "last_inspection_result": "string",
- "last_inspection_odometer": 0,
- "next_inspection_date": "2019-08-24",
- "leasing_period_start": "2019-08-24",
- "leasing_period_end": "2019-08-24",
- "external_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}Retrieves all inspection records for a specific vehicle. Returns a collection of inspection records with their details.
| vehicle_id required | integer The ID of the vehicle to retrieve inspections for |
{- "data": [
- {
- "id": "string",
- "hash": "string",
- "vehicle_id": "string",
- "insurance_id": "string",
- "next_inspection_date": "string",
- "company": "string",
- "cvr": "string",
- "location": "string",
- "category": "string",
- "date": "string",
- "odometer": "string",
- "result": "string",
- "reinspection_date": "string",
- "service_message": "string",
- "make": "string",
- "model": "string",
- "type": "string",
- "plate": "string",
- "vin": "string",
- "errors": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Retrieves all tax records for a specific vehicle. Returns a collection of tax records with their details and associated tax type.
| vehicle_id required | integer The ID of the vehicle to retrieve taxes for |
{- "data": [
- {
- "id": "string",
- "hash": "string",
- "vehicle_id": "string",
- "type_id": "string",
- "required_state": "string",
- "determined": "string",
- "from": "string",
- "to": "string",
- "price": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
]
}Retrieves detailed information about a specific car by its ID. Returns the car record with its associated vehicle information.
| id required | integer The ID of the car to retrieve |
{- "id": "string",
- "hash": "string",
- "plate": "string",
- "vin": "string",
- "plate_type": "string",
- "country": "string",
- "vehicle_id": "string",
- "registration_status": "string",
- "last_insurance_company": "string",
- "registration_status_updated_date": "string",
- "first_registration_date": "string",
- "expire_date": "string",
- "status_updated_date": "string",
- "last_inspection_date": "string",
- "last_inspection_result": "string",
- "last_inspection_odometer": "string",
- "next_inspection_date": "string",
- "leasing_period_start": "string",
- "leasing_period_end": "string",
- "external_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "vehicle": {
- "id": "string",
- "vin": "string",
- "latest_plate": "string",
- "country": "string",
- "external_id": "string",
- "vin_location": "string",
- "type": "string",
- "type_name": "string",
- "series": "string",
- "make": "string",
- "make_id": "string",
- "model": "string",
- "model_id": "string",
- "model_year": "string",
- "model_code": "string",
- "version": "string",
- "tecdoc_id": "string",
- "tecdoc_updated": "string",
- "fuel": "string",
- "fuel_id": "string",
- "fuel_efficiency": "string",
- "variant": "string",
- "weight_total": "string",
- "weight_minimum": "string",
- "weight_maximum": "string",
- "weight_vehicle": "string",
- "weight_technical_total": "string",
- "weight_towing": "string",
- "weight_towing_brakes": "string",
- "type_approval_code": "string",
- "coupling": "string",
- "engine_type": "string",
- "engine_displacement": "string",
- "engine_hp": "string",
- "engine_power": "string",
- "engine_cylinders": "string",
- "engine_code": "string",
- "engine_top_speed": "string",
- "axles": "string",
- "drive_axles": "string",
- "doors": "string",
- "minimum_seats": "string",
- "maximum_seats": "string",
- "wheels": "string",
- "extra_equipment": "string",
- "sales_vehicle_no": "string",
- "sales_vehicle": "string",
- "use": "string",
- "color": "string",
- "body_type": "string",
- "euro_norm": "string",
- "pretty_series": "string",
- "pretty_car_name": "string",
- "pretty_car_name_short": "string"
}, - "comments": {
- "data": [
- {
- "id": "string",
- "car_id": "string",
- "text": "string",
- "created_by": "string",
- "created_at": "string"
}
]
}
}{- "data": [
- {
- "id": "string",
- "email": "string",
- "type_id": "string",
- "group_id": "string",
- "pricegroup_id": "string",
- "address_id": "string",
- "default_company_no": "string",
- "default_company_gln": "string",
- "default_currency_id": "string",
- "default_vat_id": "string",
- "default_vat_zone_id": "string",
- "default_paymentterms_id": "string",
- "default_creditlimit": "string",
- "created_at": "string",
- "updated_at": "string",
- "address": "string"
}
]
}Creates or updates the customer by email address, then creates the delivery address. Returns the created customer with its address loaded.
required | object |
required | object |
{- "customer": {
- "email": "user@example.com",
- "company_no": "string",
- "company_gln": "string"
}, - "address": {
- "name": "string",
- "phone": "string",
- "country_id": 0,
- "phone2": "string",
- "mobile": "string",
- "address": "string",
- "zip": "string",
- "city": "string",
- "att": "string"
}
}{- "id": "string",
- "email": "string",
- "type_id": "string",
- "group_id": "string",
- "pricegroup_id": "string",
- "address_id": "string",
- "default_company_no": "string",
- "default_company_gln": "string",
- "default_currency_id": "string",
- "default_vat_id": "string",
- "default_vat_zone_id": "string",
- "default_paymentterms_id": "string",
- "default_creditlimit": "string",
- "created_at": "string",
- "updated_at": "string",
- "address": "string"
}At least one of name, phone, or email must be provided.
Returns 404 when no matching customers are found.
| phone | string |
{- "data": [
- {
- "id": "string",
- "email": "string",
- "type_id": "string",
- "group_id": "string",
- "pricegroup_id": "string",
- "address_id": "string",
- "default_company_no": "string",
- "default_company_gln": "string",
- "default_currency_id": "string",
- "default_vat_id": "string",
- "default_vat_zone_id": "string",
- "default_paymentterms_id": "string",
- "default_creditlimit": "string",
- "created_at": "string",
- "updated_at": "string",
- "address": "string"
}
]
}Returns all active customer types with nested groups and their pricegroups.
{- "data": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "groups": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_types_id": "string",
- "customers_pricegroups_id": "string",
- "account_id": "string",
- "layout_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "pricegroups": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}
]
}
]
}Returns {"exists": true} when a customer with the given email is found,
{"exists": false} otherwise.
string |
{- "email": "string"
}{- "exists": true
}| id required | integer |
| name required | string |
| default | boolean |
| active | boolean |
{- "id": 0,
- "name": "string",
- "default": true,
- "active": true
}{- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "groups": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_types_id": "string",
- "customers_pricegroups_id": "string",
- "account_id": "string",
- "layout_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "pricegroups": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}
]
}| name required | string |
| default | boolean |
| active | boolean |
| customers_types_id | integer |
| account_id | integer |
| layout_id | integer |
{- "name": "string",
- "default": true,
- "active": true,
- "customers_types_id": 0,
- "account_id": 0,
- "layout_id": 0
}201| id required | integer |
| name required | string |
| default | boolean |
| active | boolean |
| customers_types_id | integer |
| account_id | integer |
| layout_id | integer |
{- "id": 0,
- "name": "string",
- "default": true,
- "active": true,
- "customers_types_id": 0,
- "account_id": 0,
- "layout_id": 0
}{- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_types_id": "string",
- "customers_pricegroups_id": "string",
- "account_id": "string",
- "layout_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "pricegroups": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}| name required | string |
| default | boolean |
| active | boolean |
| customers_groups_id | integer |
{- "name": "string",
- "default": true,
- "active": true,
- "customers_groups_id": 0
}201| id required | integer |
| name required | string |
| default | boolean |
| active | boolean |
| customers_groups_id | integer |
{- "id": 0,
- "name": "string",
- "default": true,
- "active": true,
- "customers_groups_id": 0
}{- "id": "string",
- "name": "string",
- "default": "string",
- "active": "string",
- "lastused_at": "string",
- "customers_groups_id": "string",
- "created_at": "string",
- "updated_at": "string"
}| id required | integer The address primary key. |
{- "id": 0,
- "customers_id": 0,
- "hash": "string",
- "lastused_at": "string",
- "name": "string",
- "att": "string",
- "address": "string",
- "zip": "string",
- "city": "string",
- "country_id": 0,
- "insurances_id": 0,
- "text_id": 0,
- "company_no": "string",
- "company_gln": "string",
- "email_general": "string",
- "email_offer": "string",
- "email_order": "string",
- "email_invoice": "string",
- "email_creditmemo": "string",
- "email_statement": "string",
- "phone": "string",
- "phone2": "string",
- "mobile": "string",
- "fax": "string",
- "paymentterms_id": 0,
- "currency_id": 0,
- "vat_id": 0,
- "vat_zone_id": 0,
- "creditlimit": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}| customers_id required | integer |
| name required | string |
| att | string or null |
| address | string or null |
| zip | string or null |
| city | string or null |
| country_id required | integer |
| email_general | string or null <email> |
| email_offer | string or null <email> |
| email_order | string or null <email> |
| email_invoice | string or null <email> |
| email_creditmemo | string or null <email> |
| email_statement | string or null <email> |
| phone | string or null |
| phone2 | string or null |
| mobile | string or null |
| fax | string or null |
{- "customers_id": 0,
- "name": "string",
- "att": "string",
- "address": "string",
- "zip": "string",
- "city": "string",
- "country_id": 0,
- "email_general": "user@example.com",
- "email_offer": "user@example.com",
- "email_order": "user@example.com",
- "email_invoice": "user@example.com",
- "email_creditmemo": "user@example.com",
- "email_statement": "user@example.com",
- "phone": "string",
- "phone2": "string",
- "mobile": "string",
- "fax": "string"
}{- "id": 0,
- "customers_id": 0,
- "hash": "string",
- "lastused_at": "string",
- "name": "string",
- "att": "string",
- "address": "string",
- "zip": "string",
- "city": "string",
- "country_id": 0,
- "insurances_id": 0,
- "text_id": 0,
- "company_no": "string",
- "company_gln": "string",
- "email_general": "string",
- "email_offer": "string",
- "email_order": "string",
- "email_invoice": "string",
- "email_creditmemo": "string",
- "email_statement": "string",
- "phone": "string",
- "phone2": "string",
- "mobile": "string",
- "fax": "string",
- "paymentterms_id": 0,
- "currency_id": 0,
- "vat_id": 0,
- "vat_zone_id": 0,
- "creditlimit": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}Returns all offers, orders, invoices, and credit memos for the given customer, sorted by date descending.
| id required | integer |
{- "data": [
- {
- "id": "string",
- "type": "string",
- "sequence": "string",
- "date": "string",
- "price_total_vat": "string",
- "status_id": "string",
- "is_closed": true,
- "is_deactivated": true,
- "is_creditmemo": true,
- "url": "string"
}
]
}Returns the aggregate balance and all individual posting lines, sorted by posting date descending.
| id required | integer |
{- "aggregate": [
- null
], - "postings": {
- "data": [
- {
- "id": "string",
- "type": "string",
- "reference_sequence": "string",
- "amount": "string",
- "posting_date": "string",
- "due_date": "string",
- "settled_at": "string",
- "is_settled": true,
- "description": "string",
- "url": "string"
}
]
}
}Returns all unique cars linked to the customer via sales documents, sorted by latest first.
| id required | integer |
{- "data": [
- {
- "id": "string",
- "plate": "string",
- "vin": "string",
- "make": "string",
- "model": "string",
- "model_year": "string",
- "first_registration_date": "string",
- "url": "string"
}
]
}Returns all non-deleted comments for the given customer, ordered oldest first.
| id required | integer Customer ID |
{- "data": [
- {
- "id": "string",
- "customer_id": "string",
- "text": "string",
- "created_by": "string",
- "created_at": "string"
}
]
}Creates a new comment record for the given customer, scoped to the authenticated user's shop. Comment text is deduplicated via the Texts table.
| id required | integer Customer ID |
| text required | string <= 5000 characters |
{- "text": "string"
}201Sorted ascending by return date. Returns 404 when no upcoming deliveries are found.
{- "data": [
- {
- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}
]
}All search parameters are optional; omitting all of them returns all documents.
| sequence | string Default: false |
| invoice_sequence | string Default: false |
| price_total_vat | string Default: false |
{- "sequence": false,
- "invoice_sequence": false,
- "price_total_vat": false
}{- "data": [
- {
- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}
]
}Creates a sales document (offer or order depending on the finance.start_as_order
setting) with the next available sequence number.
| car_id required | integer |
| customer_id required | integer |
| address_id required | integer |
| finance_department_id required | integer |
{- "car_id": 0,
- "customer_id": 0,
- "address_id": 0,
- "finance_department_id": 0
}{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}Returns 404 when no document exists for the given sequence.
| sequence required | string The unique sequence number of the sales document. |
{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}Dispatches integration and calendar jobs after saving. Returns 404 when no document exists for the given sequence.
| sequence required | string The unique sequence number of the sales document. |
| car_id | integer |
| customer_id | integer |
| address_id | integer |
| invoiced_customer_id | integer |
| invoiced_address_id | integer |
| responsible_employee_id | integer |
| status_id | integer |
| requisition_no | integer |
| finance_department_id | integer |
| delivery_at | string |
| return_at | string |
| is_deactivated | integer |
| is_internal | integer |
| is_warranty | integer |
| is_claim | integer |
| odometer | integer or null >= 0 |
{- "car_id": 0,
- "customer_id": 0,
- "address_id": 0,
- "invoiced_customer_id": 0,
- "invoiced_address_id": 0,
- "responsible_employee_id": 0,
- "status_id": 0,
- "requisition_no": 0,
- "finance_department_id": 0,
- "delivery_at": "string",
- "return_at": "string",
- "is_deactivated": 0,
- "is_internal": 0,
- "is_warranty": 0,
- "is_claim": 0,
- "odometer": 0
}{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}Recalculates pricing after updating lines. Dispatches integration jobs after saving. Returns 404 when the document, customer pricegroup, or invoiced customer is not found.
| sequence required | string The unique sequence number of the sales document. |
Array of objects |
{- "items": [
- {
- "id": 0,
- "products_id": 0,
- "qty": "string",
- "price": "string",
- "title": "string",
- "bundle": "string",
- "bundle_id": "string",
- "description": "string",
- "is_printable": "string",
- "costPrice": "string",
- "discountPct": 0
}
]
}{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}The document must be a SalesOffer and must have a valid customer pricegroup and invoiced customer. Dispatches integration events after conversion.
| sequence required | string The unique sequence number of the offer. |
{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}The document must be a SalesOrder and must have a valid customer pricegroup and invoiced customer. Dispatches integration events after conversion.
| sequence required | string The unique sequence number of the order. |
{- "id": "string",
- "sequence": "string",
- "shop_id": "string",
- "customer_id": "string",
- "address_id": "string",
- "invoiced_customer_id": "string",
- "invoiced_address_id": "string",
- "responsible_employee_id": "string",
- "car_id": "string",
- "odometer": "string",
- "status_id": "string",
- "finance_department_id": "string",
- "order_date": "string",
- "invoice_date": "string",
- "invoice_sequence": "string",
- "delivery_at": "string",
- "return_at": "string",
- "requisition_no": "string",
- "is_deactivated": "string",
- "is_closed": "string",
- "is_internal": "string",
- "is_warranty": "string",
- "is_claim": "string",
- "priceIncDiscountTotal": "string",
- "priceIncDiscountTotalVat": "string",
- "vatTotal": "string",
- "discount": "string",
- "discountPct": "string",
- "type_name": "string",
- "model": "string",
- "reset_lines": "string",
- "created_at": "string",
- "updated_at": "string",
- "type": "string",
- "car": "string",
- "department": "string",
- "shop": "string",
- "customer": "string",
- "address": "string",
- "invoiced_customer": "string",
- "invoiced_address": "string",
- "states": "string",
- "lines": "string"
}Accepts an array of {id, line_no} pairs. Returns only the new ordering;
the client already has full line data.
| sequence required | string The sales document sequence number. |
required | Array of objects non-empty |
{- "lines": [
- {
- "id": 0,
- "line_no": 0
}
]
}{- "order": "string"
}| sequence required | string The sales document sequence number. |
| bundleId required | integer The bundle_id shared by the lines to remove. |
{- "totals": {
- "costPriceTotal": "string",
- "priceTotal": "string",
- "discountTotal": "string",
- "priceIncDiscountTotal": "string",
- "vatTotal": "string",
- "priceIncDiscountTotalVat": "string"
}
}Invoices are read-only and will be rejected with 403.
| sequence required | string The sales document sequence number. |
| products_id required | integer |
| qty required | number |
| price | number |
| costPrice | number |
| title | string or null |
| description | string or null |
| bundle | integer |
| bundle_id | integer |
| is_printable | integer |
| discountPct | number |
{- "products_id": 0,
- "qty": 0,
- "price": 0,
- "costPrice": 0,
- "title": "string",
- "description": "string",
- "bundle": 0,
- "bundle_id": 0,
- "is_printable": 0,
- "discountPct": 0
}{- "line": "string",
- "totals": {
- "costPriceTotal": "string",
- "priceTotal": "string",
- "discountTotal": "string",
- "priceIncDiscountTotal": "string",
- "vatTotal": "string",
- "priceIncDiscountTotalVat": "string"
}
}| sequence required | string The sales document sequence number. |
| lineId required | integer The line ID within that document. |
| qty | number |
| price | number |
| costPrice | number |
| title | string or null |
| description | string or null |
| is_printable | integer |
| discountPct | number |
{- "qty": 0,
- "price": 0,
- "costPrice": 0,
- "title": "string",
- "description": "string",
- "is_printable": 0,
- "discountPct": 0
}{- "line": "string",
- "totals": {
- "costPriceTotal": "string",
- "priceTotal": "string",
- "discountTotal": "string",
- "priceIncDiscountTotal": "string",
- "vatTotal": "string",
- "priceIncDiscountTotalVat": "string"
}
}| sequence required | string The sales document sequence number. |
| lineId required | integer The line ID to delete. |
{- "totals": {
- "costPriceTotal": "string",
- "priceTotal": "string",
- "discountTotal": "string",
- "priceIncDiscountTotal": "string",
- "vatTotal": "string",
- "priceIncDiscountTotalVat": "string"
}
}| id required | integer The ID of the product bundle to add the item to. |
| products_id required | integer |
| title | string or null |
| ordering | integer or null |
| qty required | string |
| price_guided required | string |
{- "products_id": 0,
- "title": "string",
- "ordering": 0,
- "qty": "string",
- "price_guided": "string"
}201| id required | integer The ID of the product bundle containing the item. |
| itemid required | integer The ID of the specific item to delete from the bundle. |
{- "message": "Deleted successfully"
}| id required | integer The ID of the product bundle containing the item. |
| itemid required | integer The ID of the specific map item to update. |
| products_id required | integer |
| title | string or null |
| ordering | integer or null |
| qty required | string |
| price_guided required | string |
{- "products_id": 0,
- "title": "string",
- "ordering": 0,
- "qty": "string",
- "price_guided": "string"
}{- "id": 0,
- "products_bundles_id": 0,
- "products_id": 0,
- "title": "string",
- "ordering": 0,
- "qty": "string",
- "price_guided": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}Returns all finished bundles alongside the full list of product categories.
When a vehicle ID is supplied, bundles are filtered to those compatible
with the vehicle's make, model, version, and tecdoc identifiers.
| vehicle | integer |
{- "categories": [
- {
- "id": 0,
- "name": "string",
- "ordering": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": 0,
- "updated_by": 0,
- "deleted_at": "string",
- "deleted_by": 0
}
], - "products": [
- {
- "id": "string",
- "alias": "string",
- "name": "string",
- "products_id": "string",
- "category_id": "string",
- "products_pricing": "string",
- "make_ids": "string",
- "model_ids": "string",
- "version_ids": "string",
- "tecdoc_ids": "string",
- "finished": "string",
- "created_at": "string",
- "updated_at": "string",
- "products": "string",
- "product": "string"
}
]
}| id required | integer The ID of the product bundle to retrieve. |
{- "id": "string",
- "alias": "string",
- "name": "string",
- "products_id": "string",
- "category_id": "string",
- "products_pricing": "string",
- "make_ids": "string",
- "model_ids": "string",
- "version_ids": "string",
- "tecdoc_ids": "string",
- "finished": "string",
- "created_at": "string",
- "updated_at": "string",
- "products": "string",
- "product": "string"
}Returns the updated bundle with its map items loaded.
| id required | integer The ID of the product bundle to update. |
| alias | string <= 191 characters |
| name | integer |
| products_id | integer |
| category_id | integer or null |
| products_pricing | integer or null |
| make_ids | string or null |
| model_ids | integer or null |
| version_ids | string or null |
| tecdoc_ids | integer or null |
| finished | boolean |
{- "alias": "string",
- "name": 0,
- "products_id": 0,
- "category_id": 0,
- "products_pricing": 0,
- "make_ids": "string",
- "model_ids": 0,
- "version_ids": "string",
- "tecdoc_ids": 0,
- "finished": true
}{- "id": "string",
- "alias": "string",
- "name": "string",
- "products_id": "string",
- "category_id": "string",
- "products_pricing": "string",
- "make_ids": "string",
- "model_ids": "string",
- "version_ids": "string",
- "tecdoc_ids": "string",
- "finished": "string",
- "created_at": "string",
- "updated_at": "string",
- "products": "string",
- "product": "string"
}Filters products by SKU (partial match) and supplier ID. Optionally narrows results to a specific product type.
| query | string |
| type | integer |
| supplier required | integer |
{- "data": [
- {
- "id": "string",
- "sku": "string",
- "active": "string",
- "type_id": "string",
- "group_id": "string",
- "supplier_id": "string",
- "unit_id": "string",
- "title": "string",
- "texts_id": "string",
- "ean": "string",
- "default_qty": "string",
- "price_locked": "string",
- "price_cost": "string",
- "price_guided": "string",
- "price_deposit": "string",
- "price_toll": "string",
- "is_vat_exempted": "string",
- "stock_management": "string",
- "stock_negative": "string",
- "stock_available": "string",
- "created_at": "string",
- "updated_at": "string",
- "group": "string",
- "texts": "string"
}
]
}| sku required | string <= 191 characters |
| supplier_id required | integer |
| type_id | integer |
| group_id | integer or null |
| unit_id | integer or null |
| title | string or null |
| texts_id | integer or null |
| ean | string or null |
| default_qty | integer or null |
| price_locked | boolean |
| price_cost | number or null |
| price_guided | number or null |
| price_deposit | number or null |
| price_toll | number or null |
| is_vat_exempted | integer Enum: "0" "1" |
| stock_management | integer Enum: "0" "1" |
{- "sku": "string",
- "supplier_id": 0,
- "type_id": 0,
- "group_id": 0,
- "unit_id": 0,
- "title": "string",
- "texts_id": 0,
- "ean": "string",
- "default_qty": 0,
- "price_locked": true,
- "price_cost": 0,
- "price_guided": 0,
- "price_deposit": 0,
- "price_toll": 0,
- "is_vat_exempted": "0",
- "stock_management": "0"
}201| id required | integer |
| sku | string <= 191 characters |
| supplier_id | integer |
| type_id | integer |
| group_id | integer or null |
| unit_id | integer or null |
| title | string or null |
| texts_id | integer or null |
| ean | string or null |
| default_qty | integer or null |
| price_locked | boolean |
| price_cost | number or null |
| price_guided | number or null |
| price_deposit | number or null |
| price_toll | number or null |
| is_vat_exempted | integer Enum: "0" "1" |
| stock_management | integer Enum: "0" "1" |
{- "sku": "string",
- "supplier_id": 0,
- "type_id": 0,
- "group_id": 0,
- "unit_id": 0,
- "title": "string",
- "texts_id": 0,
- "ean": "string",
- "default_qty": 0,
- "price_locked": true,
- "price_cost": 0,
- "price_guided": 0,
- "price_deposit": 0,
- "price_toll": 0,
- "is_vat_exempted": "0",
- "stock_management": "0"
}{- "id": "string",
- "sku": "string",
- "active": "string",
- "type_id": "string",
- "group_id": "string",
- "supplier_id": "string",
- "unit_id": "string",
- "title": "string",
- "texts_id": "string",
- "ean": "string",
- "default_qty": "string",
- "price_locked": "string",
- "price_cost": "string",
- "price_guided": "string",
- "price_deposit": "string",
- "price_toll": "string",
- "is_vat_exempted": "string",
- "stock_management": "string",
- "stock_negative": "string",
- "stock_available": "string",
- "created_at": "string",
- "updated_at": "string",
- "group": "string",
- "texts": "string"
}Loads the document's current status and all available status types. Returns 404 when no state record exists for the given sequence.
| sequence required | string The unique sequence number of the financial document. |
"string"Sets or removes a status value in the document's other_statuses field.
A status_value of 0 removes the entry; any non-zero value sets it.
Returns 404 when the document state or the status type is not found.
| sequence required | string The unique sequence number of the financial document. |
| status_id required | integer |
| status_value required | integer |
{- "status_id": 0,
- "status_value": 0
}"string"Returns every non-header finance account record in the system, each including the related account type object.
{- "data": [
- {
- "id": "string",
- "number": "string",
- "name": "string",
- "type": "string",
- "finance_vats_id": "string",
- "active": "string",
- "created_at": "string",
- "updated_at": "string",
- "account_type": {
- "id": "string",
- "name": "string"
}
}
]
}Returns all product category records ordered by their display ordering field.
{- "data": [
- {
- "id": "string",
- "name": "string",
- "ordering": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new product category record.
| name required | string <= 255 characters |
| ordering | integer or null |
{- "name": "string",
- "ordering": 0
}201Retrieves a single product category record by its primary key.
| id required | integer The ID of the product category to retrieve |
{- "id": "string",
- "name": "string",
- "ordering": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified product category record.
| id required | integer The ID of the product category to update |
| name | string <= 255 characters |
| ordering | integer or null |
{- "name": "string",
- "ordering": 0
}{- "id": "string",
- "name": "string",
- "ordering": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all product group records ordered by name, with supplier and unit relations eager-loaded.
{- "data": [
- {
- "id": "string",
- "name": "string",
- "costprice_multiplier_percent": "string",
- "supplier_id": "string",
- "unit_id": "string",
- "liable_account_id": "string",
- "exempt_account_id": "string",
- "accrual_account_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "supplier": "string",
- "unit": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new product group record.
| name required | string <= 255 characters |
| supplier_id | integer or null |
| unit_id | integer or null |
| costprice_multiplier_percent | number or null |
| liable_account_id | integer or null |
| exempt_account_id | integer or null |
| accrual_account_id | integer or null |
{- "name": "string",
- "supplier_id": 0,
- "unit_id": 0,
- "costprice_multiplier_percent": 0,
- "liable_account_id": 0,
- "exempt_account_id": 0,
- "accrual_account_id": 0
}201Retrieves a single product group record by its primary key, with supplier and unit relations eager-loaded.
| id required | integer The ID of the product group to retrieve |
{- "id": "string",
- "name": "string",
- "costprice_multiplier_percent": "string",
- "supplier_id": "string",
- "unit_id": "string",
- "liable_account_id": "string",
- "exempt_account_id": "string",
- "accrual_account_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "supplier": "string",
- "unit": "string"
}Validates the request and updates the specified product group record.
| id required | integer The ID of the product group to update |
| name | string <= 255 characters |
| supplier_id | integer or null |
| unit_id | integer or null |
| costprice_multiplier_percent | number or null |
| liable_account_id | integer or null |
| exempt_account_id | integer or null |
| accrual_account_id | integer or null |
{- "name": "string",
- "supplier_id": 0,
- "unit_id": 0,
- "costprice_multiplier_percent": 0,
- "liable_account_id": 0,
- "exempt_account_id": 0,
- "accrual_account_id": 0
}{- "id": "string",
- "name": "string",
- "costprice_multiplier_percent": "string",
- "supplier_id": "string",
- "unit_id": "string",
- "liable_account_id": "string",
- "exempt_account_id": "string",
- "accrual_account_id": "string",
- "created_at": "string",
- "updated_at": "string",
- "supplier": "string",
- "unit": "string"
}{- "data": [
- {
- "id": "string",
- "prefix": "string",
- "name": "string",
- "visible": "string",
- "editable": "string",
- "stockable": "string",
- "costprice_multiplier_percent": "string",
- "exclude_pricegroup_ids": "string",
- "integration": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new product supplier record. The prefix field is automatically derived from the supplier name on creation.
| name required | string <= 255 characters |
| visible | boolean or null |
| editable | boolean or null |
| stockable | boolean or null |
| costprice_multiplier_percent | number or null |
| integration | string or null <= 255 characters |
| exclude_pricegroup_ids | Array of integers or null |
{- "name": "string",
- "visible": true,
- "editable": true,
- "stockable": true,
- "costprice_multiplier_percent": 0,
- "integration": "string",
- "exclude_pricegroup_ids": [
- 0
]
}201Retrieves a single product supplier record by its primary key.
| id required | integer The ID of the product supplier to retrieve |
{- "id": "string",
- "prefix": "string",
- "name": "string",
- "visible": "string",
- "editable": "string",
- "stockable": "string",
- "costprice_multiplier_percent": "string",
- "exclude_pricegroup_ids": "string",
- "integration": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified product supplier record.
| id required | integer The ID of the product supplier to update |
| name | string <= 255 characters |
| visible | boolean or null |
| editable | boolean or null |
| stockable | boolean or null |
| costprice_multiplier_percent | number or null |
| integration | string or null <= 255 characters |
| exclude_pricegroup_ids | Array of integers or null |
{- "name": "string",
- "visible": true,
- "editable": true,
- "stockable": true,
- "costprice_multiplier_percent": 0,
- "integration": "string",
- "exclude_pricegroup_ids": [
- 0
]
}{- "id": "string",
- "prefix": "string",
- "name": "string",
- "visible": "string",
- "editable": "string",
- "stockable": "string",
- "costprice_multiplier_percent": "string",
- "exclude_pricegroup_ids": "string",
- "integration": "string",
- "created_at": "string",
- "updated_at": "string"
}Exchanges the stored refresh token for a new access/refresh token pair via the AD Danmark token endpoint. Returns the raw token response so the client can inspect expiry times.
"string"Fetches the basket(s) associated with the given sequence from the AD Danmark API, creates any missing products, and appends them as sales lines. Returns the updated sales model. Returns 404 when no basket or no token is found.
| sequence required | string The sales document sequence number used as the basket reference. |
{ }Optionally accepts a content override to preview unsaved edits.
Returns the full rendered HTML including the email layout wrapper.
| sequence required | string |
| id required | string |
| content | string |
{- "sequence": "string",
- "id": "string",
- "content": "string"
}{- "id": 0,
- "key": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "bcc": "string",
- "subject": "string",
- "content": "string",
- "subject_rendered": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}Logs the outbound email and dispatches it via the mail driver. Optionally attaches a PDF rendered from the sales model.
| sequence required | string |
| customer_id required | string |
| template_id required | string |
| to required | string |
| cc | string |
| bcc | string |
| subject required | string |
| content required | string |
| attachment | string |
{- "sequence": "string",
- "customer_id": "string",
- "template_id": "string",
- "to": "string",
- "cc": "string",
- "bcc": "string",
- "subject": "string",
- "content": "string",
- "attachment": "string"
}200Each template has its subject and content rendered via Blade using the sales model resolved from the sequence parameter.
| sequence required | string The sales document sequence number used as Blade context. |
[- {
- "id": 0,
- "key": "string",
- "from": "string",
- "to": "string",
- "cc": "string",
- "bcc": "string",
- "subject": "string",
- "content": "string",
- "subject_rendered": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}
]Returns the template with its content rendered via Blade.
| sequence required | string |
| id required | string |
| content | string |
{- "sequence": "string",
- "id": "string",
- "content": "string"
}{- "id": 0,
- "name": "string",
- "sender": "string",
- "content": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}Resolves the customer's country dial code from their address and dispatches the message via the configured SMS supplier.
| sequence required | string |
| customer_id required | string |
| to required | string |
| content required | string |
{- "sequence": "string",
- "customer_id": "string",
- "to": "string",
- "content": "string"
}200Each template has its content rendered via Blade using the sales model resolved from the sequence parameter.
| sequence required | string The sales document sequence number used as Blade context. |
[- {
- "id": 0,
- "name": "string",
- "sender": "string",
- "content": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}
]Optionally accepts a content override to preview unsaved edits.
| sequence required | string |
| id required | string |
| content | string |
{- "sequence": "string",
- "id": "string",
- "content": "string"
}{- "id": 0,
- "type": "string",
- "name": "string",
- "content": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}Resolves the sales model from the sequence and streams the generated PDF as a file download response.
| sequence required | string |
| id | string |
{- "sequence": "string",
- "id": "string"
}{ }Each template has its content rendered via Blade using the sales model resolved from the sequence parameter.
| sequence required | string The sales document sequence number used as Blade context. |
[- {
- "id": 0,
- "type": "string",
- "name": "string",
- "content": "string",
- "content_rendered": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}
]Returns a flat array of logged SMS records ordered newest-first, including sender, recipient, content, status, and audit timestamps.
| sequence required | string The sales document sequence number. |
[- {
- "id": 0,
- "sender": "string",
- "sms_id": "string",
- "customer_id": 0,
- "sequence": 0,
- "type": 0,
- "to": "string",
- "content": "string",
- "status": 0,
- "read_by": 0,
- "read_at": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}
]Returns a flat array of logged email records ordered newest-first, including delivery status, recipients, content, and audit timestamps.
| sequence required | string The sales document sequence number. |
[- {
- "id": 0,
- "from": "string",
- "email_id": "string",
- "customer_id": 0,
- "sequence": 0,
- "type": 0,
- "to": "string",
- "cc": "string",
- "bcc": "string",
- "subject": "string",
- "content": "string",
- "files": "string",
- "status": 0,
- "delivery_status": 0,
- "read_by": 0,
- "read_at": "string",
- "created_at": "string",
- "updated_at": "string",
- "created_by": 0,
- "updated_by": 0
}
]Queries the Postmark API for matching domain, server, and sender records, then appends DNS records for the same domain. Useful for diagnosing email deliverability issues.
{ }Returns every country record in the system. Supports standard pagination query parameters (page, per_page). Used by shop configuration screens and address pickers throughout the application.
{- "data": [
- {
- "id": "string",
- "code": "string",
- "country": "string",
- "active": "string",
- "phone_code": "string",
- "currency_code": "string",
- "currency_name": "string",
- "currency_symbol": "string",
- "currency_align": "string",
- "from_base_to_currency": "string",
- "dec_point": "string",
- "thousands_sep": "string",
- "postal_code_format": "string",
- "postal_code_regex": "string",
- "is_eu_member": "string",
- "iso_code": "string",
- "iso_639_1": "string",
- "translator": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Returns the full country record, including currency and postal-code fields. Returns null (empty body) when the ID does not exist.
| id required | integer |
{- "id": "string",
- "code": "string",
- "country": "string",
- "active": "string",
- "phone_code": "string",
- "currency_code": "string",
- "currency_name": "string",
- "currency_symbol": "string",
- "currency_align": "string",
- "from_base_to_currency": "string",
- "dec_point": "string",
- "thousands_sep": "string",
- "postal_code_format": "string",
- "postal_code_regex": "string",
- "is_eu_member": "string",
- "iso_code": "string",
- "iso_639_1": "string",
- "translator": "string"
}All fields are optional (partial PUT). Only fields present in the request body are changed. Returns the updated country record.
| id required | integer |
| country | string <= 100 characters |
| code | string <= 10 characters |
| active | boolean |
| phone_code | integer or null |
| currency_code | string or null <= 10 characters |
| currency_name | string or null <= 100 characters |
| currency_symbol | string or null <= 10 characters |
| currency_align | string or null Enum: "LEFT" "RIGHT" |
| dec_point | string or null <= 5 characters |
| postal_code_format | string or null <= 20 characters |
| postal_code_regex | string or null <= 255 characters |
| is_eu_member | boolean |
{- "country": "string",
- "code": "string",
- "active": true,
- "phone_code": 0,
- "currency_code": "string",
- "currency_name": "string",
- "currency_symbol": "string",
- "currency_align": "LEFT",
- "dec_point": "strin",
- "postal_code_format": "string",
- "postal_code_regex": "string",
- "is_eu_member": true
}{- "id": "string",
- "code": "string",
- "country": "string",
- "active": "string",
- "phone_code": "string",
- "currency_code": "string",
- "currency_name": "string",
- "currency_symbol": "string",
- "currency_align": "string",
- "from_base_to_currency": "string",
- "dec_point": "string",
- "thousands_sep": "string",
- "postal_code_format": "string",
- "postal_code_regex": "string",
- "is_eu_member": "string",
- "iso_code": "string",
- "iso_639_1": "string",
- "translator": "string"
}Supports filtering via the standard RequesterService filter mechanism. Useful for address auto-complete and postal-code lookup flows.
| id required | integer |
{- "data": [
- {
- "id": "string",
- "country_id": "string",
- "zipcode": "string",
- "city": "string",
- "city_normalized": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Returns language codes and their type classification (primary, official, etc.) for the given country.
| id required | integer |
{- "data": [
- {
- "id": "string",
- "country_id": "string",
- "lang": "string",
- "langType": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Returns IANA-style zone names for the given country. A country may have multiple zones (e.g. large countries spanning time zones).
| id required | integer |
{- "data": [
- {
- "id": "string",
- "country_id": "string",
- "zone_name": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}{- "data": [
- {
- "id": "string",
- "region_id": "string",
- "name": "string",
- "active": "string",
- "city": "string",
- "address": "string",
- "post_code": "string",
- "phone": "string",
- "email": "string",
- "cvr": "string",
- "bank_reg": "string",
- "bank_no": "string",
- "bank_iban": "string",
- "mobile_pay": "string",
- "fi_creditor": "string",
- "settings": "string",
- "opening_hours": "string",
- "close_days": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new shop record.
| region_id required | integer |
| name required | string <= 255 characters |
| active | boolean or null |
| city | string or null <= 255 characters |
| address | string or null <= 255 characters |
| post_code | string or null <= 20 characters |
| phone | string or null <= 50 characters |
string or null <email> <= 255 characters | |
| cvr | string or null <= 50 characters |
| bank_reg | string or null <= 50 characters |
| bank_no | string or null <= 50 characters |
| bank_iban | string or null <= 50 characters |
| mobile_pay | string or null <= 50 characters |
| fi_creditor | string or null <= 50 characters |
| settings | Array of strings or null |
| opening_hours | Array of strings or null |
| close_days | Array of strings or null |
{- "region_id": 0,
- "name": "string",
- "active": true,
- "city": "string",
- "address": "string",
- "post_code": "string",
- "phone": "string",
- "email": "user@example.com",
- "cvr": "string",
- "bank_reg": "string",
- "bank_no": "string",
- "bank_iban": "string",
- "mobile_pay": "string",
- "fi_creditor": "string",
- "settings": [
- "string"
], - "opening_hours": [
- "string"
], - "close_days": [
- "string"
]
}201Retrieves detailed information for a single shop record.
| id required | integer The ID of the shop to retrieve |
{- "id": "string",
- "region_id": "string",
- "name": "string",
- "active": "string",
- "city": "string",
- "address": "string",
- "post_code": "string",
- "phone": "string",
- "email": "string",
- "cvr": "string",
- "bank_reg": "string",
- "bank_no": "string",
- "bank_iban": "string",
- "mobile_pay": "string",
- "fi_creditor": "string",
- "settings": "string",
- "opening_hours": "string",
- "close_days": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified shop record.
| id required | integer The ID of the shop to update |
| region_id | integer or null |
| name | string <= 255 characters |
| active | boolean or null |
| city | string or null <= 255 characters |
| address | string or null <= 255 characters |
| post_code | string or null <= 20 characters |
| phone | string or null <= 50 characters |
string or null <email> <= 255 characters | |
| cvr | string or null <= 50 characters |
| bank_reg | string or null <= 50 characters |
| bank_no | string or null <= 50 characters |
| bank_iban | string or null <= 50 characters |
| mobile_pay | string or null <= 50 characters |
| fi_creditor | string or null <= 50 characters |
| settings | Array of strings or null |
| opening_hours | Array of strings or null |
| close_days | Array of strings or null |
{- "region_id": 0,
- "name": "string",
- "active": true,
- "city": "string",
- "address": "string",
- "post_code": "string",
- "phone": "string",
- "email": "user@example.com",
- "cvr": "string",
- "bank_reg": "string",
- "bank_no": "string",
- "bank_iban": "string",
- "mobile_pay": "string",
- "fi_creditor": "string",
- "settings": [
- "string"
], - "opening_hours": [
- "string"
], - "close_days": [
- "string"
]
}{- "id": "string",
- "region_id": "string",
- "name": "string",
- "active": "string",
- "city": "string",
- "address": "string",
- "post_code": "string",
- "phone": "string",
- "email": "string",
- "cvr": "string",
- "bank_reg": "string",
- "bank_no": "string",
- "bank_iban": "string",
- "mobile_pay": "string",
- "fi_creditor": "string",
- "settings": "string",
- "opening_hours": "string",
- "close_days": "string",
- "created_at": "string",
- "updated_at": "string"
}{- "data": [
- {
- "id": "string",
- "region": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new shop region record.
| region required | string <= 255 characters |
{- "region": "string"
}201Validates the request and updates the specified shop region record.
| id required | integer The ID of the region to update |
| region | string <= 255 characters |
{- "region": "string"
}{- "id": "string",
- "region": "string",
- "created_at": "string",
- "updated_at": "string"
}| sequence required | string The sales document sequence number. |
[- {
- "id": "string",
- "ordering": "string",
- "sequence": "string",
- "shop_id": "string",
- "line_id": "string",
- "w_id": "string",
- "w_custom": "string",
- "w_option_id": "string",
- "w_option_type_id": "string",
- "option_title": "string",
- "w_title": "string",
- "w_option_enable_comment": "string",
- "w_option_req": "string",
- "w_option_req_image": "string",
- "w_option_value": "string",
- "w_option_comment": "string",
- "products": "string",
- "option": {
- "id": "string",
- "option_title": "string",
- "type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}
}, - "custom_type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}, - "created_at": "string",
- "updated_at": "string"
}
]| sequence required | string |
| option_title required | string <= 255 characters |
| option_type_id | integer or null |
| w_option_enable_comment | boolean |
| w_option_req_image | boolean |
{- "option_title": "string",
- "option_type_id": 0,
- "w_option_enable_comment": true,
- "w_option_req_image": true
}{- "id": "string",
- "ordering": "string",
- "sequence": "string",
- "shop_id": "string",
- "line_id": "string",
- "w_id": "string",
- "w_custom": "string",
- "w_option_id": "string",
- "w_option_type_id": "string",
- "option_title": "string",
- "w_title": "string",
- "w_option_enable_comment": "string",
- "w_option_req": "string",
- "w_option_req_image": "string",
- "w_option_value": "string",
- "w_option_comment": "string",
- "products": "string",
- "option": {
- "id": "string",
- "option_title": "string",
- "type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}
}, - "custom_type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}, - "created_at": "string",
- "updated_at": "string"
}| sequence required | string The sales document sequence number. |
| id required | integer The worksheet line ID. |
| w_option_value | integer or null |
| w_option_comment | string or null <= 5000 characters |
{- "w_option_value": 0,
- "w_option_comment": "string"
}{- "id": "string",
- "ordering": "string",
- "sequence": "string",
- "shop_id": "string",
- "line_id": "string",
- "w_id": "string",
- "w_custom": "string",
- "w_option_id": "string",
- "w_option_type_id": "string",
- "option_title": "string",
- "w_title": "string",
- "w_option_enable_comment": "string",
- "w_option_req": "string",
- "w_option_req_image": "string",
- "w_option_value": "string",
- "w_option_comment": "string",
- "products": "string",
- "option": {
- "id": "string",
- "option_title": "string",
- "type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}
}, - "custom_type": {
- "id": "string",
- "type": "string",
- "title": "string",
- "values": [
- {
- "value": 0,
- "label": "string"
}
]
}, - "created_at": "string",
- "updated_at": "string"
}| sequence required | string |
| id required | integer |
[- {
- "id": "string",
- "file_path": "string",
- "file_preview": "string",
- "url": "string",
- "preview_url": "string",
- "file_mime": "string",
- "file_size": "string",
- "worksheets_id": "string",
- "worksheets_line_id": "string",
- "created_at": "string"
}
]| sequence required | string |
| id required | integer |
| file required | string <binary> <application/octet-stream> <= 10240 characters |
{- "id": "string",
- "file_path": "string",
- "file_preview": "string",
- "url": "string",
- "preview_url": "string",
- "file_mime": "string",
- "file_size": "string",
- "worksheets_id": "string",
- "worksheets_line_id": "string",
- "created_at": "string"
}[- {
- "id": "string",
- "shop_id": "string",
- "employee_id": "string",
- "employee_name": "string",
- "finance_sequence": "string",
- "from": "string",
- "to": "string",
- "is_open": true,
- "created_at": "string"
}
]| sequence required | string |
{- "id": "string",
- "shop_id": "string",
- "employee_id": "string",
- "employee_name": "string",
- "finance_sequence": "string",
- "from": "string",
- "to": "string",
- "is_open": true,
- "created_at": "string"
}Returns all employee records for the active shop, ordered by name, in a data-wrapped collection.
{- "data": [
- {
- "id": "string",
- "user_id": "string",
- "name": "string",
- "title": "string",
- "email": "string",
- "tags": "string",
- "finance_id": "string",
- "percentage": "string",
- "hours": "string",
- "shop_id": "string",
- "working_hours": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new employee record. The working_hours array is used to compute the total contracted hours and percentage.
| name required | string <= 255 characters |
| title | string or null <= 255 characters |
string or null <email> <= 255 characters | |
| tags | string or null <= 255 characters |
| finance_id | string or null <= 255 characters |
| shop_id | string or null |
| working_hours | Array of strings or null |
| user_id | integer or null |
| sync_user | boolean or null |
{- "name": "string",
- "title": "string",
- "email": "user@example.com",
- "tags": "string",
- "finance_id": "string",
- "shop_id": "string",
- "working_hours": [
- "string"
], - "user_id": 0,
- "sync_user": true
}201Retrieves detailed information for a single employee record.
| id required | integer The ID of the employee to retrieve |
{- "id": "string",
- "user_id": "string",
- "name": "string",
- "title": "string",
- "email": "string",
- "tags": "string",
- "finance_id": "string",
- "percentage": "string",
- "hours": "string",
- "shop_id": "string",
- "working_hours": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified employee record. Recomputes total hours and percentage from the updated working_hours array when provided.
| id required | integer The ID of the employee to update |
| name | string <= 255 characters |
| title | string or null <= 255 characters |
string or null <email> <= 255 characters | |
| tags | string or null <= 255 characters |
| finance_id | string or null <= 255 characters |
| shop_id | string or null |
| working_hours | Array of strings or null |
| user_id | integer or null |
| sync_user | boolean or null |
{- "name": "string",
- "title": "string",
- "email": "user@example.com",
- "tags": "string",
- "finance_id": "string",
- "shop_id": "string",
- "working_hours": [
- "string"
], - "user_id": 0,
- "sync_user": true
}{- "id": "string",
- "user_id": "string",
- "name": "string",
- "title": "string",
- "email": "string",
- "tags": "string",
- "finance_id": "string",
- "percentage": "string",
- "hours": "string",
- "shop_id": "string",
- "working_hours": "string",
- "created_at": "string",
- "updated_at": "string"
}{- "data": [
- {
- "id": "string",
- "shop_id": "string",
- "name": "string",
- "is_external": "string",
- "racks": [
- {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
]
}| name required | string <= 255 characters |
| is_external | boolean |
| is_global | boolean |
| shop_id | integer or null |
{- "name": "string",
- "is_external": true,
- "is_global": true,
- "shop_id": 0
}201{- "id": "string",
- "shop_id": "string",
- "name": "string",
- "is_external": "string",
- "racks": [
- {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}| id required | integer Location ID |
| name required | string <= 255 characters |
| is_external | boolean |
| is_global | boolean |
| shop_id | integer or null |
{- "name": "string",
- "is_external": true,
- "is_global": true,
- "shop_id": 0
}{- "id": "string",
- "shop_id": "string",
- "name": "string",
- "is_external": "string",
- "racks": [
- {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}{- "data": [
- {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
]
}Accepts an array of rack names and creates them all in a single transaction.
| location_id required | integer |
| names required | Array of strings [ 1 .. 500 ] items [ items <= 255 characters ] |
{- "location_id": 0,
- "names": [
- "string"
]
}201| id required | integer Rack ID |
| name required | string <= 255 characters |
{- "name": "string"
}{- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}Accepts an array of shelf names and creates them all in a single transaction.
| rack_id required | integer |
| names required | Array of strings [ 1 .. 500 ] items [ items <= 255 characters ] |
{- "rack_id": 0,
- "names": [
- "string"
]
}201| id required | integer Shelf ID |
| name required | string <= 255 characters |
{- "name": "string"
}{- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}Supports optional filters: ?plate=, ?email=, ?phone=, ?rack_id=, ?season=, ?include_removed=1
| rack_id | integer Default: 0 |
| season | string |
{- "data": [
- {
- "id": "string",
- "shop_id": "string",
- "customer_id": "string",
- "car_id": "string",
- "car_plate": "string",
- "rack_id": "string",
- "season": "string",
- "tire_size": "string",
- "rim_type": "string",
- "prepare": "string",
- "notes": "string",
- "linked_sales": "string",
- "removed_at": "string",
- "last_used_note": "string",
- "shelf_id": "string",
- "shelf": {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "rack": {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}
]
}| customer_id required | integer |
| car_id | integer or null |
| rack_id | integer or null |
| shelf_id | integer or null |
| season required | string Enum: "summer" "winter" "all_year" |
| tire_size required | string <= 100 characters |
| rim_type required | string Enum: "alloy" "steel" "only_tire" |
| prepare | boolean |
| notes | string or null <= 2000 characters |
| sales_sequence | string or null <= 50 characters |
{- "customer_id": 0,
- "car_id": 0,
- "rack_id": 0,
- "shelf_id": 0,
- "season": "summer",
- "tire_size": "string",
- "rim_type": "alloy",
- "prepare": true,
- "notes": "string",
- "sales_sequence": "string"
}201{- "id": "string",
- "shop_id": "string",
- "customer_id": "string",
- "car_id": "string",
- "car_plate": "string",
- "rack_id": "string",
- "season": "string",
- "tire_size": "string",
- "rim_type": "string",
- "prepare": "string",
- "notes": "string",
- "linked_sales": "string",
- "removed_at": "string",
- "last_used_note": "string",
- "shelf_id": "string",
- "shelf": {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "rack": {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}| id required | integer Tire set ID |
| car_id | integer or null |
| rack_id | integer or null |
| shelf_id | integer or null |
| season required | string Enum: "summer" "winter" "all_year" |
| tire_size required | string <= 100 characters |
| rim_type required | string Enum: "alloy" "steel" "only_tire" |
| prepare | boolean |
| notes | string or null <= 2000 characters |
| sales_sequence | string or null <= 50 characters |
{- "car_id": 0,
- "rack_id": 0,
- "shelf_id": 0,
- "season": "summer",
- "tire_size": "string",
- "rim_type": "alloy",
- "prepare": true,
- "notes": "string",
- "sales_sequence": "string"
}{- "id": "string",
- "shop_id": "string",
- "customer_id": "string",
- "car_id": "string",
- "car_plate": "string",
- "rack_id": "string",
- "season": "string",
- "tire_size": "string",
- "rim_type": "string",
- "prepare": "string",
- "notes": "string",
- "linked_sales": "string",
- "removed_at": "string",
- "last_used_note": "string",
- "shelf_id": "string",
- "shelf": {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "rack": {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}Sets removed_at to now and stores the last-used note. The record is not deleted.
| id required | integer Tire set ID |
| last_used_note | string or null <= 1000 characters |
{- "last_used_note": "string"
}{- "id": "string",
- "shop_id": "string",
- "customer_id": "string",
- "car_id": "string",
- "car_plate": "string",
- "rack_id": "string",
- "season": "string",
- "tire_size": "string",
- "rim_type": "string",
- "prepare": "string",
- "notes": "string",
- "linked_sales": "string",
- "removed_at": "string",
- "last_used_note": "string",
- "shelf_id": "string",
- "shelf": {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "rack": {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}Creates a tire storage line on the given sales sequence and links the tire set to it.
| id required | integer Tire set ID |
| sequence required | string <= 50 characters |
| products_id | integer or null |
{- "sequence": "string",
- "products_id": 0
}{- "id": "string",
- "shop_id": "string",
- "customer_id": "string",
- "car_id": "string",
- "car_plate": "string",
- "rack_id": "string",
- "season": "string",
- "tire_size": "string",
- "rim_type": "string",
- "prepare": "string",
- "notes": "string",
- "linked_sales": "string",
- "removed_at": "string",
- "last_used_note": "string",
- "shelf_id": "string",
- "shelf": {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "rack": {
- "id": "string",
- "location_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "shelves": [
- {
- "id": "string",
- "rack_id": "string",
- "name": "string",
- "active_tire_sets_count": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}Returns a paginated list of insurance provider records ordered by name.
{- "data": [
- {
- "id": "string",
- "parent_id": "string",
- "active": "string",
- "type": "string",
- "name": "string",
- "logo": "string",
- "slug": "string",
- "forsi_code": "string",
- "cars_insurance_name": "string",
- "cars_insurance_updated": "string",
- "created_at": "string",
- "updated_at": "string"
}
], - "total": "string",
- "per_page": "string",
- "current_page": "string",
- "last_page": "string",
- "from": "string",
- "to": "string"
}Validates the request and creates a new insurance provider record.
| parent_id | integer or null |
| active | boolean or null |
| type | integer or null |
| name required | string <= 255 characters |
| logo | string or null <= 255 characters |
| slug | string or null <= 255 characters |
| forsi_code | string or null <= 10 characters |
| cars_insurance_name | string or null <= 255 characters |
| cars_insurance_updated | string or null <date-time> |
{- "parent_id": 0,
- "active": true,
- "type": 0,
- "name": "string",
- "logo": "string",
- "slug": "string",
- "forsi_code": "string",
- "cars_insurance_name": "string",
- "cars_insurance_updated": "2019-08-24T14:15:22Z"
}201Retrieves detailed information for a single insurance provider record.
| id required | integer The ID of the insurance to retrieve |
{- "id": "string",
- "parent_id": "string",
- "active": "string",
- "type": "string",
- "name": "string",
- "logo": "string",
- "slug": "string",
- "forsi_code": "string",
- "cars_insurance_name": "string",
- "cars_insurance_updated": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified insurance provider record.
| id required | integer The ID of the insurance to update |
| parent_id | integer or null |
| active | boolean or null |
| type | integer or null |
| name | string <= 255 characters |
| logo | string or null <= 255 characters |
| slug | string or null <= 255 characters |
| forsi_code | string or null <= 10 characters |
| cars_insurance_name | string or null <= 255 characters |
| cars_insurance_updated | string or null <date-time> |
{- "parent_id": 0,
- "active": true,
- "type": 0,
- "name": "string",
- "logo": "string",
- "slug": "string",
- "forsi_code": "string",
- "cars_insurance_name": "string",
- "cars_insurance_updated": "2019-08-24T14:15:22Z"
}{- "id": "string",
- "parent_id": "string",
- "active": "string",
- "type": "string",
- "name": "string",
- "logo": "string",
- "slug": "string",
- "forsi_code": "string",
- "cars_insurance_name": "string",
- "cars_insurance_updated": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all adjustment rules ordered by their ordering field, including rule class name and all pricing/logic configuration.
{- "data": [
- {
- "id": "string",
- "active": "string",
- "ordering": "string",
- "title": "string",
- "rule": "string",
- "type": "string",
- "type_line": "string",
- "shop_id": "string",
- "look_products_id": "string",
- "look_products_group_id": "string",
- "add_products_id": "string",
- "percentage_of": "string",
- "by_quantity": "string",
- "price": "string",
- "lock_price": "string",
- "if_is_upsale": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Validates the request and creates a new adjustment rule record.
| active | integer or null Enum: "0" "1" |
| ordering | integer or null |
| title | string or null <= 255 characters |
| rule | string or null <= 255 characters |
| type | integer or null |
| type_line | integer or null |
| shop_id | integer or null |
| look_products_id | integer or null |
| look_products_group_id | integer or null |
| add_products_id | integer or null |
| percentage_of | number or null |
| by_quantity | integer or null Enum: "0" "1" |
| price | number or null |
| lock_price | integer or null Enum: "0" "1" |
| if_is_upsale | integer or null Enum: "0" "1" |
{- "active": "0",
- "ordering": 0,
- "title": "string",
- "rule": "string",
- "type": 0,
- "type_line": 0,
- "shop_id": 0,
- "look_products_id": 0,
- "look_products_group_id": 0,
- "add_products_id": 0,
- "percentage_of": 0,
- "by_quantity": "0",
- "price": 0,
- "lock_price": "0",
- "if_is_upsale": "0"
}201Retrieves a single adjustment rule record by its primary key.
| id required | integer The ID of the adjustment rule to retrieve |
{- "id": "string",
- "active": "string",
- "ordering": "string",
- "title": "string",
- "rule": "string",
- "type": "string",
- "type_line": "string",
- "shop_id": "string",
- "look_products_id": "string",
- "look_products_group_id": "string",
- "add_products_id": "string",
- "percentage_of": "string",
- "by_quantity": "string",
- "price": "string",
- "lock_price": "string",
- "if_is_upsale": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified adjustment rule record.
| id required | integer The ID of the adjustment rule to update |
| active | integer or null Enum: "0" "1" |
| ordering | integer or null |
| title | string or null <= 255 characters |
| rule | string or null <= 255 characters |
| type | integer or null |
| type_line | integer or null |
| shop_id | integer or null |
| look_products_id | integer or null |
| look_products_group_id | integer or null |
| add_products_id | integer or null |
| percentage_of | number or null |
| by_quantity | integer or null Enum: "0" "1" |
| price | number or null |
| lock_price | integer or null Enum: "0" "1" |
| if_is_upsale | integer or null Enum: "0" "1" |
{- "active": "0",
- "ordering": 0,
- "title": "string",
- "rule": "string",
- "type": 0,
- "type_line": 0,
- "shop_id": 0,
- "look_products_id": 0,
- "look_products_group_id": 0,
- "add_products_id": 0,
- "percentage_of": 0,
- "by_quantity": "0",
- "price": 0,
- "lock_price": "0",
- "if_is_upsale": "0"
}{- "id": "string",
- "active": "string",
- "ordering": "string",
- "title": "string",
- "rule": "string",
- "type": "string",
- "type_line": "string",
- "shop_id": "string",
- "look_products_id": "string",
- "look_products_group_id": "string",
- "add_products_id": "string",
- "percentage_of": "string",
- "by_quantity": "string",
- "price": "string",
- "lock_price": "string",
- "if_is_upsale": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all shop rules ordered by ID, including product group and shop targeting alongside the configured cost-price multiplier.
{- "data": [
- {
- "id": "string",
- "active": "string",
- "products_group_ids": "string",
- "shop_ids": "string",
- "costprice_multiplier_percent": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Validates the request and creates a new shop rule record.
| active | integer or null Enum: "0" "1" |
| costprice_multiplier_percent | number or null |
| products_group_ids | Array of integers or null |
| shop_ids | Array of integers or null |
{- "active": "0",
- "costprice_multiplier_percent": 0,
- "products_group_ids": [
- 0
], - "shop_ids": [
- 0
]
}201Retrieves a single shop rule record by its primary key.
| id required | integer The ID of the shop rule to retrieve |
{- "id": "string",
- "active": "string",
- "products_group_ids": "string",
- "shop_ids": "string",
- "costprice_multiplier_percent": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified shop rule record.
| id required | integer The ID of the shop rule to update |
| active | integer or null Enum: "0" "1" |
| costprice_multiplier_percent | number or null |
| products_group_ids | Array of integers or null |
| shop_ids | Array of integers or null |
{- "active": "0",
- "costprice_multiplier_percent": 0,
- "products_group_ids": [
- 0
], - "shop_ids": [
- 0
]
}{- "id": "string",
- "active": "string",
- "products_group_ids": "string",
- "shop_ids": "string",
- "costprice_multiplier_percent": "string",
- "created_at": "string",
- "updated_at": "string"
}Returns all price rules ordered by ID, including targeting IDs, rule type, and all multiplier values.
{- "data": [
- {
- "id": "string",
- "active": "string",
- "show_on_lines": "string",
- "name": "string",
- "display_name": "string",
- "type": "string",
- "customer_pricegroup_ids": "string",
- "shop_ids": "string",
- "products_group_ids": "string",
- "price_multiplier_percent": "string",
- "price_multiplier_amount": "string",
- "price_multiplier_fixed": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Validates the request and creates a new price rule record.
| active | integer or null Enum: "0" "1" |
| show_on_lines | integer or null Enum: "0" "1" |
| name | string or null <= 255 characters |
| display_name | string or null <= 255 characters |
| type | integer or null Enum: "1" "2" "3" |
| price_multiplier_percent | number or null |
| price_multiplier_amount | number or null |
| price_multiplier_fixed | number or null |
| customer_pricegroup_ids | Array of integers or null |
| shop_ids | Array of integers or null |
| products_group_ids | Array of integers or null |
{- "active": "0",
- "show_on_lines": "0",
- "name": "string",
- "display_name": "string",
- "type": "1",
- "price_multiplier_percent": 0,
- "price_multiplier_amount": 0,
- "price_multiplier_fixed": 0,
- "customer_pricegroup_ids": [
- 0
], - "shop_ids": [
- 0
], - "products_group_ids": [
- 0
]
}201Retrieves a single price rule record by its primary key.
| id required | integer The ID of the price rule to retrieve |
{- "id": "string",
- "active": "string",
- "show_on_lines": "string",
- "name": "string",
- "display_name": "string",
- "type": "string",
- "customer_pricegroup_ids": "string",
- "shop_ids": "string",
- "products_group_ids": "string",
- "price_multiplier_percent": "string",
- "price_multiplier_amount": "string",
- "price_multiplier_fixed": "string",
- "created_at": "string",
- "updated_at": "string"
}Validates the request and updates the specified price rule record.
| id required | integer The ID of the price rule to update |
| active | integer or null Enum: "0" "1" |
| show_on_lines | integer or null Enum: "0" "1" |
| name | string or null <= 255 characters |
| display_name | string or null <= 255 characters |
| type | integer or null Enum: "1" "2" "3" |
| price_multiplier_percent | number or null |
| price_multiplier_amount | number or null |
| price_multiplier_fixed | number or null |
| customer_pricegroup_ids | Array of integers or null |
| shop_ids | Array of integers or null |
| products_group_ids | Array of integers or null |
{- "active": "0",
- "show_on_lines": "0",
- "name": "string",
- "display_name": "string",
- "type": "1",
- "price_multiplier_percent": 0,
- "price_multiplier_amount": 0,
- "price_multiplier_fixed": 0,
- "customer_pricegroup_ids": [
- 0
], - "shop_ids": [
- 0
], - "products_group_ids": [
- 0
]
}{- "id": "string",
- "active": "string",
- "show_on_lines": "string",
- "name": "string",
- "display_name": "string",
- "type": "string",
- "customer_pricegroup_ids": "string",
- "shop_ids": "string",
- "products_group_ids": "string",
- "price_multiplier_percent": "string",
- "price_multiplier_amount": "string",
- "price_multiplier_fixed": "string",
- "created_at": "string",
- "updated_at": "string"
}