Skip to content

Commit 1312046

Browse files
Merge pull request #195 from MewsSystems/loyalty-update
Deprecated loyaltyCode in favor of loyaltyInfo
2 parents 4e72220 + 519f71e commit 1312046

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

changelog/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 4th November 2024
4+
* Deprecated `loyaltyCode` in [Mews: Process group](../mews-operations/reservations.md#process-group). This is replaced by `loyaltyInfo`.
5+
36
## 11th October 2024
47
* [Mews: Process availability block](../mews-operations/availabilityBlock.md) – Added `Rolling` to release strategy type; added `offset` property to release strategy object, and updated contract and description for `fixedDate` property (NOT a breaking change)
58
* [CHM: Process availability block](../channel-manager-operations/availabilityBlock.md) – Added `releasedStrategy` property to availability block object and deprecated `releasedDate` property – see [Deprecations](../deprecations/README.md).

deprecations/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The table columns have the following meanings:
2424

2525
| Feature | Comments | Deprecated | Discontinued |
2626
| :-- | :-- | :-- | :-- |
27+
| `loyaltyCode` in [Customer](../mews-operations/reservations.md#customer) object in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `loyaltyInfo` | 4 Nov 2024 | - |
2728
| `releasedDate` in [CHM: Dates](../channel-manager-operations/availabilityBlock.md#dates) object in [CHM: Availability block](../channel-manager-operations/availabilityBlock.md#availability-block) | Replaced by `fixedDate` in [`Release strategy`](../mews-operations/availabilityBlock.md#release-strategy) of [`Availability block`](../channel-manager-operations/availabilityBlock.md#availability-block) | 11 Oct 2024 | - |
2829
| `error` in [Synchronous error response](../guidelines/responses.md#synchronous-error-response) | Replaced by `errors` (plural and an `array`) | 15 May 2024 | - |
2930
| `paymentType` in [`RatePlan`](../mews-operations/configuration.md#rate-plan) returned by [Mews: Get configuration](../mews-operations/configuration.md#get-configuration) | May yield incorrect value. More info below (\*1). | 16 May 2024 | - |

mews-operations/reservations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ The third `reservation` definition shows the partial cancellation - canceling th
267267
| `firstName` | `string` | optional | First name. |
268268
| `title` | `string` [Title](#title) | optional | Customer title, e.g. "Mister" |
269269
| `telephone` | `string` | optional | Telephone. |
270-
| `loyaltyCode` | `string` | optional |Loyalty code of the customer. Processed only for the main customer. |
270+
| ~~`loyaltyCode`~~ | ~~`string`~~ | ~~optional~~ | ~~Loyalty code of the customer, usually used for the customer's membership number. This is stored in Mews against the Customer Internals tab. Processed only for the main customer.~~ **[Deprecated!](../deprecations/README.md)** |
271271
| `loyaltyInfo` | [`Loyalty Info`](#loyalty-info) object | optional | Loyalty information of the customer. Processed only for the main customer or [`Availability block`](../channel-manager-operations/availabilityBlock.md#availability-block) booker. |
272272
| `nationalityCode` | `string` | optional | [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) - two letter country code or [ISO 3166-1 alpha-3 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) - three letter country code. |
273273
| `languageCode` | `string` | optional | Language [code](https://msdn.microsoft.com/en-us/library/ee825488) of the communication language of the customer. This language will be used as the default for communication with the customer. |

0 commit comments

Comments
 (0)