Mews Customers Add Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "customers_add",
"method": "POST",
"path": "/api/connector/v1/customers/add",
"summary": "Add customer",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"Title": "Miss",
"FirstName": "Thea",
"LastName": "Carbone",
"BirthDate": "1985-09-30",
"BirthPlace": "Pescara (BI)",
"Occupation": "Giornalista",
"Email": "thea@quotidiano.example",
"Phone": "+39 06 555 5555",
"Notes": "Check-in notturno.",
"CarRegistrationNumber": "AA 111AA",
"TaxIdentificationNumber": "ZGNZLR17U72P554F",
"Address": {
"Line1": "Via Antimo 474 Piano 5",
"City": "Liborio laziale",
"PostalCode": "30228",
"CountryCode": "IT",
"CountrySubdivisionCode": "IT-65"
},
"Classifications": [
"Media",
"FriendOrFamily"
],
"Options": [
"SendMarketingEmails"
],
"ChainId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"OverwriteExisting": false,
"ItalianDestinationCode": "7654321",
"ItalianFiscalCode": "ZGNZLR17U72P554F",
"ItalianLotteryCode": "AB12345"
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Id": "99b4f0af-9558-463b-8452-07a9bc414708",
"ChainId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Number": "390881",
"Title": "Miss",
"Sex": null,
"FirstName": "Thea",
"LastName": "Carbone",
"SecondLastName": null,
"NationalityCode": null,
"PreferredLanguageCode": null,
"LanguageCode": null,
"BirthDate": "1985-09-30",
"BirthCountryCode": null,
"BirthCountrySubdivisionCode": null,
"BirthPlace": "Pescara (BI)",
"Occupation": "Giornalista",
"Email": "thea@quotidiano.example",
"HasOtaEmail": false,
"Phone": "+39 06 555 5555",
"TaxIdentificationNumber": "ZGNZLR17U72P554F",
"LoyaltyCode": null,
"AccountingCode": null,
"BillingCode": null,
"Notes": "Check-in notturno.",
"CarRegistrationNumber": "AA 111AA",
"DietaryRequirements": null,
"CreatedUtc": "2024-09-17T12:22:33Z",
"UpdatedUtc": "2024-10-12T09:45:00Z",
"Passport": null,
"IdentityCard": null,
"Visa": null,
"DriversLicense": null,
"Address": {
"Id": "81f62f08-26d5-408f-9b0d-d030957dc799",
"Line1": "Via Antimo 474 Piano 5",
"Line2": null,
"City": "Liborio laziale",
"PostalCode": "30228",
"CountryCode": "IT",
"CountrySubdivisionCode": "IT-65",
"Latitude": 28.56333,
"Longitude": -121.243143
},
"AddressId": "81f62f08-26d5-408f-9b0d-d030957dc799",
"Classifications": [
"Media",
"FriendOrFamily"
],
"Options": [],
"ItalianDestinationCode": "7654321",
"ItalianFiscalCode": "ZGNZLR17U72P554F",
"ItalianLotteryCode": "AB12345",
"CompanyId": "f3b4f0af-9558-463b-8452-07a9bc414708",
"MergeTargetId": null,
"ActivityState": null,
"IsActive": true,
"PreferredSpaceFeatures": [
"LowerBed"
],
"CreatorProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
"UpdaterProfileId": "122fc063-ec6e-4198-b8db-6b168a59ffae"
}
}
]
}