Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated loyaltyCode in favor of loyaltyInfo #195

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4th November 2024
* Deprecated `loyaltyCode` in [Mews: Process group](../mews-operations/reservations.md#process-group). This is replaced by `loyaltyInfo`.

## 11th October 2024
* [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)
* [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).
Expand Down
1 change: 1 addition & 0 deletions deprecations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The table columns have the following meanings:

| Feature | Comments | Deprecated | Discontinued |
| :-- | :-- | :-- | :-- |
| `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 | - |
| `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 | - |
| `error` in [Synchronous error response](../guidelines/responses.md#synchronous-error-response) | Replaced by `errors` (plural and an `array`) | 15 May 2024 | - |
| `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 | - |
Expand Down
2 changes: 1 addition & 1 deletion mews-operations/reservations.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ The third `reservation` definition shows the partial cancellation - canceling th
| `firstName` | `string` | optional | First name. |
| `title` | `string` [Title](#title) | optional | Customer title, e.g. "Mister" |
| `telephone` | `string` | optional | Telephone. |
| `loyaltyCode` | `string` | optional |Loyalty code of the customer. Processed only for the main customer. |
| ~~`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)** |
| `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. |
| `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. |
| `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. |
Expand Down
Loading