Customer Portal: new API endpoints and new fields of the Order object
The API endpoints are available that enables API customers to manage customers, terminals, and contacts with more flexibility. These endpoints are replacing the old (now deprecated) Contacts API. Customers and terminals can be reused while creating an order. Each customer or terminal can have several contacts. Only one contact can be marked as primary.
API reference: Customers, Terminals.
These changes add new fields to the Order object.
...
"pickup_counterparty_guid": "ef2818b8-a55e-436a-a61e-993ae0470928",
"save_as_new": null,
"save_as_new_contact": null,
"venue": {
"name": "First Choice",
"business_type": "DEALER",
"address": "7997 Hudson Street",
"city": "Suffolk",
"state": "VA",
"zip": "23434",
"contact_name": "Patricia Bennett",
"contact_title": "Dispatcher",
"contact_email": "mail@example.com",
"contact_phone": "215-800-1859",
"contact_mobile_phone": "412-452-2889"
},
...
pickupanddelivery:counterparty_guidto reuse customer or terminal informationsave_as_newandsave_as_new_contactto save customer, terminal, or contact information
pickup.venueanddelivery.venue:business_typecan accept the valuesDEALER,PRIVATE,AUCTION,REPO_YARD,PORT,BUSINESScontact_titlecontact_mobile_phone
API reference: create a new order.