talon_one 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AddLoyaltyPoints.md +2 -2
  4. data/docs/CustomEffect.md +1 -1
  5. data/docs/InlineResponse2001.md +1 -1
  6. data/docs/InlineResponse20010.md +3 -3
  7. data/docs/InlineResponse20011.md +3 -3
  8. data/docs/InlineResponse20012.md +1 -1
  9. data/docs/InlineResponse20013.md +2 -2
  10. data/docs/InlineResponse20014.md +3 -5
  11. data/docs/InlineResponse20015.md +4 -2
  12. data/docs/InlineResponse20016.md +2 -4
  13. data/docs/InlineResponse20017.md +4 -2
  14. data/docs/InlineResponse20018.md +2 -2
  15. data/docs/InlineResponse20019.md +1 -1
  16. data/docs/InlineResponse2002.md +3 -3
  17. data/docs/InlineResponse20020.md +2 -4
  18. data/docs/InlineResponse20021.md +3 -3
  19. data/docs/InlineResponse20022.md +1 -1
  20. data/docs/InlineResponse20023.md +3 -1
  21. data/docs/InlineResponse20024.md +1 -1
  22. data/docs/InlineResponse20025.md +2 -2
  23. data/docs/InlineResponse20026.md +2 -2
  24. data/docs/InlineResponse20027.md +3 -3
  25. data/docs/InlineResponse20028.md +3 -5
  26. data/docs/InlineResponse20029.md +1 -1
  27. data/docs/InlineResponse2003.md +1 -1
  28. data/docs/InlineResponse20030.md +5 -3
  29. data/docs/InlineResponse20031.md +1 -1
  30. data/docs/InlineResponse20032.md +1 -1
  31. data/docs/InlineResponse20033.md +1 -1
  32. data/docs/InlineResponse20034.md +1 -1
  33. data/docs/InlineResponse20035.md +1 -1
  34. data/docs/InlineResponse20036.md +1 -1
  35. data/docs/InlineResponse20037.md +2 -4
  36. data/docs/InlineResponse20038.md +4 -2
  37. data/docs/InlineResponse20039.md +1 -1
  38. data/docs/InlineResponse2004.md +1 -1
  39. data/docs/InlineResponse20040.md +19 -0
  40. data/docs/InlineResponse2005.md +1 -1
  41. data/docs/InlineResponse2006.md +1 -1
  42. data/docs/InlineResponse2007.md +2 -2
  43. data/docs/InlineResponse2008.md +1 -1
  44. data/docs/InlineResponse2009.md +1 -1
  45. data/docs/IntegrationApi.md +26 -26
  46. data/docs/ManagementApi.md +141 -141
  47. data/docs/MultiApplicationEntity.md +1 -1
  48. data/docs/NewCustomEffect.md +1 -1
  49. data/docs/NewOutgoingIntegrationWebhook.md +19 -0
  50. data/docs/NewWebhook.md +3 -3
  51. data/docs/OutgoingIntegrationConfiguration.md +3 -1
  52. data/docs/OutgoingIntegrationWebhookTemplate.md +3 -1
  53. data/docs/ReopenSessionResponse.md +17 -0
  54. data/docs/StrikethroughCustomEffectPerItemProps.md +21 -0
  55. data/docs/UpdateCustomEffect.md +1 -1
  56. data/docs/Webhook.md +3 -3
  57. data/lib/talon_one/api/integration_api.rb +48 -48
  58. data/lib/talon_one/api/management_api.rb +234 -234
  59. data/lib/talon_one/models/add_loyalty_points.rb +2 -2
  60. data/lib/talon_one/models/custom_effect.rb +1 -1
  61. data/lib/talon_one/models/inline_response2001.rb +1 -1
  62. data/lib/talon_one/models/inline_response20010.rb +11 -11
  63. data/lib/talon_one/models/inline_response20011.rb +11 -11
  64. data/lib/talon_one/models/inline_response20012.rb +1 -1
  65. data/lib/talon_one/models/inline_response20013.rb +1 -3
  66. data/lib/talon_one/models/inline_response20014.rb +9 -11
  67. data/lib/talon_one/models/inline_response20015.rb +11 -7
  68. data/lib/talon_one/models/inline_response20016.rb +7 -11
  69. data/lib/talon_one/models/inline_response20017.rb +11 -7
  70. data/lib/talon_one/models/inline_response20018.rb +10 -10
  71. data/lib/talon_one/models/inline_response20019.rb +1 -1
  72. data/lib/talon_one/models/inline_response2002.rb +11 -11
  73. data/lib/talon_one/models/inline_response20020.rb +7 -11
  74. data/lib/talon_one/models/inline_response20021.rb +10 -10
  75. data/lib/talon_one/models/inline_response20022.rb +1 -1
  76. data/lib/talon_one/models/inline_response20023.rb +10 -6
  77. data/lib/talon_one/models/inline_response20024.rb +1 -1
  78. data/lib/talon_one/models/inline_response20025.rb +6 -1
  79. data/lib/talon_one/models/inline_response20026.rb +1 -6
  80. data/lib/talon_one/models/inline_response20027.rb +11 -11
  81. data/lib/talon_one/models/inline_response20028.rb +7 -11
  82. data/lib/talon_one/models/inline_response20029.rb +1 -1
  83. data/lib/talon_one/models/inline_response2003.rb +1 -1
  84. data/lib/talon_one/models/inline_response20030.rb +11 -7
  85. data/lib/talon_one/models/inline_response20031.rb +1 -1
  86. data/lib/talon_one/models/inline_response20032.rb +1 -1
  87. data/lib/talon_one/models/inline_response20033.rb +1 -1
  88. data/lib/talon_one/models/inline_response20034.rb +1 -1
  89. data/lib/talon_one/models/inline_response20035.rb +1 -1
  90. data/lib/talon_one/models/inline_response20036.rb +1 -1
  91. data/lib/talon_one/models/inline_response20037.rb +7 -11
  92. data/lib/talon_one/models/inline_response20038.rb +11 -7
  93. data/lib/talon_one/models/inline_response20039.rb +1 -1
  94. data/lib/talon_one/models/inline_response2004.rb +1 -1
  95. data/lib/talon_one/models/inline_response20040.rb +227 -0
  96. data/lib/talon_one/models/inline_response2005.rb +1 -1
  97. data/lib/talon_one/models/inline_response2006.rb +1 -1
  98. data/lib/talon_one/models/inline_response2007.rb +10 -10
  99. data/lib/talon_one/models/inline_response2008.rb +1 -1
  100. data/lib/talon_one/models/inline_response2009.rb +1 -1
  101. data/lib/talon_one/models/multi_application_entity.rb +1 -1
  102. data/lib/talon_one/models/new_custom_effect.rb +1 -1
  103. data/lib/talon_one/models/new_outgoing_integration_webhook.rb +229 -0
  104. data/lib/talon_one/models/new_webhook.rb +3 -3
  105. data/lib/talon_one/models/outgoing_integration_configuration.rb +16 -1
  106. data/lib/talon_one/models/outgoing_integration_webhook_template.rb +53 -4
  107. data/lib/talon_one/models/reopen_session_response.rb +215 -0
  108. data/lib/talon_one/models/strikethrough_custom_effect_per_item_props.rb +243 -0
  109. data/lib/talon_one/models/update_custom_effect.rb +1 -1
  110. data/lib/talon_one/models/webhook.rb +3 -3
  111. data/lib/talon_one/version.rb +1 -1
  112. data/lib/talon_one.rb +4 -0
  113. data/spec/api/integration_api_spec.rb +9 -9
  114. data/spec/api/management_api_spec.rb +59 -59
  115. data/spec/models/inline_response20010_spec.rb +1 -1
  116. data/spec/models/inline_response20011_spec.rb +1 -1
  117. data/spec/models/inline_response20014_spec.rb +0 -6
  118. data/spec/models/inline_response20015_spec.rb +6 -0
  119. data/spec/models/inline_response20016_spec.rb +0 -6
  120. data/spec/models/inline_response20017_spec.rb +6 -0
  121. data/spec/models/inline_response20018_spec.rb +1 -1
  122. data/spec/models/inline_response20020_spec.rb +0 -6
  123. data/spec/models/inline_response20021_spec.rb +2 -2
  124. data/spec/models/inline_response20023_spec.rb +6 -0
  125. data/spec/models/inline_response20027_spec.rb +1 -1
  126. data/spec/models/inline_response20028_spec.rb +0 -6
  127. data/spec/models/inline_response2002_spec.rb +1 -1
  128. data/spec/models/inline_response20030_spec.rb +6 -0
  129. data/spec/models/inline_response20037_spec.rb +0 -6
  130. data/spec/models/inline_response20038_spec.rb +6 -0
  131. data/spec/models/inline_response20040_spec.rb +47 -0
  132. data/spec/models/inline_response2007_spec.rb +1 -1
  133. data/spec/models/new_outgoing_integration_webhook_spec.rb +47 -0
  134. data/spec/models/outgoing_integration_configuration_spec.rb +6 -0
  135. data/spec/models/outgoing_integration_webhook_template_spec.rb +10 -0
  136. data/spec/models/reopen_session_response_spec.rb +41 -0
  137. data/spec/models/strikethrough_custom_effect_per_item_props_spec.rb +53 -0
  138. metadata +18 -2
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **has_more** | **Boolean** | |
7
+ **total_result_size** | **Integer** | |
8
8
  **data** | [**Array<Coupon>**](Coupon.md) | |
9
9
 
10
10
  ## Code Sample
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  ```ruby
13
13
  require 'TalonOne'
14
14
 
15
- instance = TalonOne::InlineResponse2007.new(has_more: true,
15
+ instance = TalonOne::InlineResponse2007.new(total_result_size: 1,
16
16
  data: null)
17
17
  ```
18
18
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **has_more** | **Boolean** | |
8
- **data** | [**Array<Referral>**](Referral.md) | |
8
+ **data** | [**Array<Coupon>**](Coupon.md) | |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **has_more** | **Boolean** | |
8
- **data** | [**Array<CampaignTemplate>**](CampaignTemplate.md) | |
8
+ **data** | [**Array<Referral>**](Referral.md) | |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -15,11 +15,11 @@ Method | HTTP request | Description
15
15
  [**get_customer_inventory**](IntegrationApi.md#get_customer_inventory) | **GET** /v1/customer_profiles/{integrationId}/inventory | List customer data
16
16
  [**get_customer_session**](IntegrationApi.md#get_customer_session) | **GET** /v2/customer_sessions/{customerSessionId} | Get customer session
17
17
  [**get_loyalty_balances**](IntegrationApi.md#get_loyalty_balances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances | Get customer's loyalty points
18
- [**get_loyalty_card_balances**](IntegrationApi.md#get_loyalty_card_balances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardIdentifier}/balances | Get loyalty balances for a loyalty card
19
- [**get_loyalty_card_transactions**](IntegrationApi.md#get_loyalty_card_transactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardIdentifier}/transactions | Get loyalty card transaction logs
18
+ [**get_loyalty_card_balances**](IntegrationApi.md#get_loyalty_card_balances) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/balances | Get card's point balances
19
+ [**get_loyalty_card_transactions**](IntegrationApi.md#get_loyalty_card_transactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transactions | List card's transactions
20
20
  [**get_loyalty_program_profile_transactions**](IntegrationApi.md#get_loyalty_program_profile_transactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/transactions | List customer's loyalty transactions
21
21
  [**get_reserved_customers**](IntegrationApi.md#get_reserved_customers) | **GET** /v1/coupon_reservations/customerprofiles/{couponValue} | List customers that have this coupon reserved
22
- [**link_loyalty_card_to_profile**](IntegrationApi.md#link_loyalty_card_to_profile) | **POST** /v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardIdentifier}/link_profile | Link customer profile to loyalty card
22
+ [**link_loyalty_card_to_profile**](IntegrationApi.md#link_loyalty_card_to_profile) | **POST** /v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/link_profile | Link customer profile to card
23
23
  [**reopen_customer_session**](IntegrationApi.md#reopen_customer_session) | **PUT** /v2/customer_sessions/{customerSessionId}/reopen | Reopen customer session
24
24
  [**return_cart_items**](IntegrationApi.md#return_cart_items) | **POST** /v2/customer_sessions/{customerSessionId}/returns | Return cart items
25
25
  [**sync_catalog**](IntegrationApi.md#sync_catalog) | **PUT** /v1/catalogs/{catalogId}/sync | Sync cart item catalog
@@ -652,9 +652,9 @@ Name | Type | Description | Notes
652
652
 
653
653
  ## get_loyalty_card_balances
654
654
 
655
- > LoyaltyBalances get_loyalty_card_balances(loyalty_program_id, loyalty_card_identifier, opts)
655
+ > LoyaltyBalances get_loyalty_card_balances(loyalty_program_id, loyalty_card_id, opts)
656
656
 
657
- Get loyalty balances for a loyalty card
657
+ Get card's point balances
658
658
 
659
659
  Retrieve loyalty balances for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, all loyalty balances for the given loyalty card are returned.
660
660
 
@@ -673,14 +673,14 @@ end
673
673
 
674
674
  api_instance = TalonOne::IntegrationApi.new
675
675
  loyalty_program_id = 56 # Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
676
- loyalty_card_identifier = 'loyalty_card_identifier_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
676
+ loyalty_card_id = 'loyalty_card_id_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
677
677
  opts = {
678
678
  end_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Used to return balances only for entries older than this timestamp. The expired, active, and pending points are relative to this timestamp. **Note:** It must be an RFC3339 timestamp string.
679
679
  }
680
680
 
681
681
  begin
682
- #Get loyalty balances for a loyalty card
683
- result = api_instance.get_loyalty_card_balances(loyalty_program_id, loyalty_card_identifier, opts)
682
+ #Get card's point balances
683
+ result = api_instance.get_loyalty_card_balances(loyalty_program_id, loyalty_card_id, opts)
684
684
  p result
685
685
  rescue TalonOne::ApiError => e
686
686
  puts "Exception when calling IntegrationApi->get_loyalty_card_balances: #{e}"
@@ -693,7 +693,7 @@ end
693
693
  Name | Type | Description | Notes
694
694
  ------------- | ------------- | ------------- | -------------
695
695
  **loyalty_program_id** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
696
- **loyalty_card_identifier** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
696
+ **loyalty_card_id** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
697
697
  **end_date** | **DateTime**| Used to return balances only for entries older than this timestamp. The expired, active, and pending points are relative to this timestamp. **Note:** It must be an RFC3339 timestamp string. | [optional]
698
698
 
699
699
  ### Return type
@@ -712,9 +712,9 @@ Name | Type | Description | Notes
712
712
 
713
713
  ## get_loyalty_card_transactions
714
714
 
715
- > CardLedgerTransactionLogEntryIntegrationAPI get_loyalty_card_transactions(loyalty_program_id, loyalty_card_identifier, opts)
715
+ > InlineResponse2001 get_loyalty_card_transactions(loyalty_program_id, loyalty_card_id, opts)
716
716
 
717
- Get loyalty card transaction logs
717
+ List card's transactions
718
718
 
719
719
  Retrieve loyalty transaction logs for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
720
720
 
@@ -733,7 +733,7 @@ end
733
733
 
734
734
  api_instance = TalonOne::IntegrationApi.new
735
735
  loyalty_program_id = 56 # Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
736
- loyalty_card_identifier = 'loyalty_card_identifier_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
736
+ loyalty_card_id = 'loyalty_card_id_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
737
737
  opts = {
738
738
  subledger_id: 'subledger_id_example', # String | The ID of the subledger by which we filter the data.
739
739
  start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string.
@@ -743,8 +743,8 @@ opts = {
743
743
  }
744
744
 
745
745
  begin
746
- #Get loyalty card transaction logs
747
- result = api_instance.get_loyalty_card_transactions(loyalty_program_id, loyalty_card_identifier, opts)
746
+ #List card's transactions
747
+ result = api_instance.get_loyalty_card_transactions(loyalty_program_id, loyalty_card_id, opts)
748
748
  p result
749
749
  rescue TalonOne::ApiError => e
750
750
  puts "Exception when calling IntegrationApi->get_loyalty_card_transactions: #{e}"
@@ -757,7 +757,7 @@ end
757
757
  Name | Type | Description | Notes
758
758
  ------------- | ------------- | ------------- | -------------
759
759
  **loyalty_program_id** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
760
- **loyalty_card_identifier** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
760
+ **loyalty_card_id** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
761
761
  **subledger_id** | **String**| The ID of the subledger by which we filter the data. | [optional]
762
762
  **start_date** | **DateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string. | [optional]
763
763
  **end_date** | **DateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** It must be an RFC3339 timestamp string. | [optional]
@@ -766,7 +766,7 @@ Name | Type | Description | Notes
766
766
 
767
767
  ### Return type
768
768
 
769
- [**CardLedgerTransactionLogEntryIntegrationAPI**](CardLedgerTransactionLogEntryIntegrationAPI.md)
769
+ [**InlineResponse2001**](InlineResponse2001.md)
770
770
 
771
771
  ### Authorization
772
772
 
@@ -780,7 +780,7 @@ Name | Type | Description | Notes
780
780
 
781
781
  ## get_loyalty_program_profile_transactions
782
782
 
783
- > InlineResponse2001 get_loyalty_program_profile_transactions(loyalty_program_id, integration_id, opts)
783
+ > InlineResponse2002 get_loyalty_program_profile_transactions(loyalty_program_id, integration_id, opts)
784
784
 
785
785
  List customer's loyalty transactions
786
786
 
@@ -834,7 +834,7 @@ Name | Type | Description | Notes
834
834
 
835
835
  ### Return type
836
836
 
837
- [**InlineResponse2001**](InlineResponse2001.md)
837
+ [**InlineResponse2002**](InlineResponse2002.md)
838
838
 
839
839
  ### Authorization
840
840
 
@@ -902,9 +902,9 @@ Name | Type | Description | Notes
902
902
 
903
903
  ## link_loyalty_card_to_profile
904
904
 
905
- > LoyaltyCard link_loyalty_card_to_profile(loyalty_program_id, loyalty_card_identifier, body)
905
+ > LoyaltyCard link_loyalty_card_to_profile(loyalty_program_id, loyalty_card_id, body)
906
906
 
907
- Link customer profile to loyalty card
907
+ Link customer profile to card
908
908
 
909
909
  [Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/loyalty-cards/loyalty-card-overview) allow customers to collect and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them. Link a customer profile to a given loyalty card for the card to be set as **Registered**. This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/loyalty-cards/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card). **Note:** You can link as many customer profiles to a given loyalty card as the [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/creating-loyalty-programs#creating-card-based-loyalty-programs) allows.
910
910
 
@@ -923,12 +923,12 @@ end
923
923
 
924
924
  api_instance = TalonOne::IntegrationApi.new
925
925
  loyalty_program_id = 56 # Integer | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
926
- loyalty_card_identifier = 'loyalty_card_identifier_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
926
+ loyalty_card_id = 'loyalty_card_id_example' # String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
927
927
  body = TalonOne::LoyaltyCardRegistration.new # LoyaltyCardRegistration | body
928
928
 
929
929
  begin
930
- #Link customer profile to loyalty card
931
- result = api_instance.link_loyalty_card_to_profile(loyalty_program_id, loyalty_card_identifier, body)
930
+ #Link customer profile to card
931
+ result = api_instance.link_loyalty_card_to_profile(loyalty_program_id, loyalty_card_id, body)
932
932
  p result
933
933
  rescue TalonOne::ApiError => e
934
934
  puts "Exception when calling IntegrationApi->link_loyalty_card_to_profile: #{e}"
@@ -941,7 +941,7 @@ end
941
941
  Name | Type | Description | Notes
942
942
  ------------- | ------------- | ------------- | -------------
943
943
  **loyalty_program_id** | **Integer**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
944
- **loyalty_card_identifier** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
944
+ **loyalty_card_id** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
945
945
  **body** | [**LoyaltyCardRegistration**](LoyaltyCardRegistration.md)| body |
946
946
 
947
947
  ### Return type
@@ -960,7 +960,7 @@ Name | Type | Description | Notes
960
960
 
961
961
  ## reopen_customer_session
962
962
 
963
- > IntegrationStateV2 reopen_customer_session(customer_session_id)
963
+ > ReopenSessionResponse reopen_customer_session(customer_session_id)
964
964
 
965
965
  Reopen customer session
966
966
 
@@ -1000,7 +1000,7 @@ Name | Type | Description | Notes
1000
1000
 
1001
1001
  ### Return type
1002
1002
 
1003
- [**IntegrationStateV2**](IntegrationStateV2.md)
1003
+ [**ReopenSessionResponse**](ReopenSessionResponse.md)
1004
1004
 
1005
1005
  ### Authorization
1006
1006