Offsys documentatie

Orders

Orders

Haal alle orders op.

List

VeldStandaardVerplichtOmschrijving
filter-NeeZoek orders op basis van bepaalde filters

Voorbeeld:

curl "https://api.offsys.nl/orders" \
-X GET \
-H "Authorization: 37d37675-59cd-431c-8d28-9553de7bae4d"

Resultaat:

{
"status": "success",
"orders": [
{
"number": 20240001,
"status": "offerte",
"event": "Bruiloft",
"reference": "Bruiloft Janssen",
"date": "2025-03-29 15:00:00",
"max_delivery_time": "",
"retour_date": "",
"max_retour_time": "",
"lines": [
{
"id": "1",
"name": "Statafel",
"description": "",
"amount": "1.0",
"price": "50.00",
"deposit": "0.00",
"discount": "0"
}
],
"customer": {
"type": 1,
"name": "Fam Janssen",
"address": "",
"postal": "",
"place": "",
"phone": "",
"email": ""
},
"location": {
"type": 4
},
"internal_note": "",
"quotation_note": "",
"production_note": "",
"delivery_note": ""
},
{
"number": 20240002,
"status": "factuur",
"event": "Feest",
"reference": "Feest Amsterdam",
"date": "2024-05-29 12:30:00",
"max_delivery_time": "18:50:00",
"retour_date": "",
"max_retour_time": "",
"lines": [
{
"id": "1",
"name": "Achtergrond 2x2m",
"description": "",
"amount": "1.0",
"price": "150.00",
"deposit": "0.00",
"discount": "0"
}
],
"customer": {
"type": 1,
"name": "Jan Janssen",
"address": "",
"postal": "",
"place": "",
"phone": "",
"email": ""
},
"location": {
"type": 4
},
"internal_note": "",
"quotation_note": "",
"production_note": "",
"delivery_note": ""
}
]
}

Show

Voorbeeld:

curl "https://api.offsys.nl/order/20240001" \
-X GET \
-H "Authorization: 37d37675-59cd-431c-8d28-9553de7bae4d"

Resultaat:

{
"status": "success",
"order": {
{
"number": 2024001,
"status": "offerte",
"event": "Bruiloft",
"reference": "Bruiloft Janssen",
"date": "2025-03-29 15:00:00",
"max_delivery_time": "",
"retour_date": "",
"max_retour_time": "",
"lines": [
{
"id": "1",
"name": "Statafel",
"description": "",
"amount": "1.0",
"price": "50.00",
"deposit": "0.00",
"discount": "0"
}
],
"customer": {
"type": 1,
"name": "Fam Janssen",
"address": "",
"postal": "",
"place": "",
"phone": "",
"email": ""
},
"location": {
"type": 4
},
"internal_note": "",
"quotation_note": "",
"production_note": "",
"delivery_note": ""
},
}
}

Onderwerpen