A contact point-object is a reference to a location for contact.
id | string <uuid> Contact point identifier. |
customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
label | string [ 0 .. 255 ] characters Contactpoint label. |
location_id | string or null <uuid> Identifier for the location of the contact point. |
phone_number | string [ 0 .. 32 ] characters Phone number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
Retrieve a list of customer contact points.
Successful response.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
], - "total": 3255
}
Add a new contact point.
The contact point you wish to add.
customer_id required | string <uuid> Identifier of the customer the contact point belongs to. |
email_address required | string or null <email> [ 0 .. 255 ] characters Email address. |
label required | string [ 0 .. 255 ] characters Contactpoint label. |
location_id | string or null <uuid> Identifier for the location of the contact point. |
phone_number required | string [ 0 .. 32 ] characters Phone number. |
Created.
id | string <uuid> Contact point identifier. |
customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
label | string [ 0 .. 255 ] characters Contactpoint label. |
location_id | string or null <uuid> Identifier for the location of the contact point. |
phone_number | string [ 0 .. 32 ] characters Phone number. |
An error occurred - see status code and problem response for more information.
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
Retrieves a contact point by its identifier.
Successful response.
id | string <uuid> Contact point identifier. |
customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
label | string [ 0 .. 255 ] characters Contactpoint label. |
location_id | string or null <uuid> Identifier for the location of the contact point. |
phone_number | string [ 0 .. 32 ] characters Phone number. |
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
Update a contact point by its identifier.
The updated contact point.
Successful response.
id | string <uuid> Contact point identifier. |
customer_id | string <uuid> Identifier of the customer the contact point belongs to. |
email_address | string or null <email> [ 0 .. 255 ] characters Email address. |
label | string [ 0 .. 255 ] characters Contactpoint label. |
location_id | string or null <uuid> Identifier for the location of the contact point. |
phone_number | string [ 0 .. 32 ] characters Phone number. |
An error occurred - see status code and problem response for more information.
{- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
- "email_address": "support@jifeline.com",
- "label": "Customer support",
- "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",
- "phone_number": "+31611111111"
}
Remove a contact point by its identifier.
Successfully removed.
An error occurred - see status code and problem response for more information.
Returned when the request cannot be handled due to something that is perceived to be a client error.
{- "detail": "The request violates one or more constraints. Please resolve all of them and try again.",
- "status": 400,
- "title": "Bad request",
- "type": "/problems/violations",
- "violations": [
- {
- "property_path": "gross_price.amount",
- "in": "body",
- "detail": "Value must be greater than 0"
}, - {
- "property_path": "provider_id",
- "in": "query",
- "detail": "Provider with ID 3445 does not exist."
}
]
}