Skip to content

Instantly share code, notes, and snippets.

@MCayirli
Last active September 12, 2024 14:14
Show Gist options
  • Save MCayirli/1fac088483b0b4b105cbd50da5707606 to your computer and use it in GitHub Desktop.
Save MCayirli/1fac088483b0b4b105cbd50da5707606 to your computer and use it in GitHub Desktop.
{
"success": true,
"data": {
"id": 2142,
"first_name": "kurye",
"email": "[email protected]",
"image_icon": null,
"gender": 0,
"lang": "nl",
"gravatar": "https://www.gravatar.com/avatar/962b8850a5d5d14cc6c5b4b7adbd026b?s=200&d=mm",
"hubs": [
{
"id": 1,
"name": "Hub Hasselt",
"address": "Kattegatstraat 1",
"city": "Hasselt",
"zip": "3500",
"lng": 5.3375611,
"lat": 50.9338957,
"country_id": 1
},
{
"id": 2,
"name": "Hub Heusden",
"address": "Kerkstraat",
"city": "Heusden-Zolder",
"zip": "3550",
"lng": 5.258086,
"lat": 50.9960262,
"country_id": 1
}
],
"status": {
"is_working_now": true,
"on_break": false,
"on_order": false
},
"settings": {
"reg_number": "-",
"birth_date": "2000-01-01",
"phone_number": "0000000",
"address": "guido gezellelaan 122/1",
"city": "Heusden-Zolder",
"postal_code": "3550",
"country_id": 1,
"vat_number": null,
"company_name": "-",
"is_dispatcher": true,
"can_dispatch_orders": true,
"is_subordinate": false,
"contract_model": "per_order",
"per_order_fee": "0.00",
"hourly_rate": null,
"can_take_breaks": true,
"can_reject_orders": true,
"can_have_multiple_orders": true,
"requires_pickup_code": true,
"requires_check_max_pickup_distance": true
},
"latest_location": {
"latitude": 0,
"longitude": 0,
"updated_at": "2024-09-02T09:16:31.000000Z"
}
}
}
@MCayirli
Copy link
Author

Added can_reject_orders and can_have_multiple_orders permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment