Download OpenAPI specification:Download
org-id required | string ID of the organization whose data is being accessed. |
identifier_code required | string [ 1 .. 256 ] characters The identifier code to validate. Usually scanned from a barcode or QR code or entered manually by the merchant/user. |
purpose required | string (ContactResolutionPurpose) Enum: "RESOLVE_CUSTOMER_FOR_ORDER" "RESOLVE_COLLECTOR_FOR_PICKUP" "RESOLVE_RECIPIENT_FOR_DELIVERY" The purpose for invoking a contact resolution. As in "what is the contact needd for". |
context required | object (APIUsageContext) Information about the context for/in which the API is used. |
The result of the request.
Invalid parameters were sent by the client
Credentials missing or not sufficient
{- "identifier_code": "string",
- "purpose": "RESOLVE_CUSTOMER_FOR_ORDER",
- "context": {
- "service_location_id": "string",
- "cash_register_id": "string",
- "client_language": "string"
}
}
{- "@type": "ResolveContactSuccess",
- "contact": {
- "@type": "AnonymousContactInformation",
- "name": "string",
- "contact_address": {
- "full_address": "string",
- "recipient_name": "string",
- "care_of": "string",
- "street_name": "string",
- "street_number": "string",
- "additional": "string",
- "city": "string",
- "zip": "string",
- "country_code": "AF"
}, - "contact_email": "user@example.com",
- "contact_phone": "string",
- "unique_instance_id": "string",
- "external_data": "string",
- "user_level_identifiers": [
- {
- "identifier": "string",
- "label": "string"
}
]
}
}
org-id required | string ID of the organization whose data is being accessed. |
customer required | any (ContactInformation) Information about a contact. Depending on the type of contact (private person, organization, organization with representative) and whether the entities are modeled as contacts via the contacts API, different structures are used. Note that this structure is used to reference plain contacts as well as contacts with a specific role such as customer or suppliers. Depending on the usage context, not all types of contact informations may be usable. |
context required | object (APIUsageContext) Information about the context for/in which the API is used. |
The result of the request.
Invalid parameters were sent by the client
Credentials missing or not sufficient
{- "customer": {
- "@type": "AnonymousContactInformation",
- "name": "string",
- "contact_address": {
- "full_address": "string",
- "recipient_name": "string",
- "care_of": "string",
- "street_name": "string",
- "street_number": "string",
- "additional": "string",
- "city": "string",
- "zip": "string",
- "country_code": "AF"
}, - "contact_email": "user@example.com",
- "contact_phone": "string",
- "unique_instance_id": "string",
- "external_data": "string",
- "user_level_identifiers": [
- {
- "identifier": "string",
- "label": "string"
}
]
}, - "context": {
- "service_location_id": "string",
- "cash_register_id": "string",
- "client_language": "string"
}
}
{- "later": {
- "is_available": true,
- "limit": {
- "value": 0,
- "unit": "AUD"
}, - "not_available_message": "string"
}, - "invoice": {
- "is_available": true,
- "limit": {
- "value": 0,
- "unit": "AUD"
}, - "not_available_message": "string"
}, - "deferred_invoicing": {
- "is_available": true,
- "limit": {
- "value": 0,
- "unit": "AUD"
}, - "not_available_message": "string"
}
}