ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.DigitalWalletDecharge, ReCreateX.WebShop.WebServices.Contracts",
    "DigitalWalletId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "CardNumber": "string_example",
    "Quantity": 0,
    "DisconnectAfterDecharge": false,
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "AdvancementPrice": 0.0,
    "AsReseller": false,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "PromotionRuleDiscountAmount": 0.0
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "BasketItemValidationResult": {
    "ValidatedBasketItem": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.FamilySubscriptionAdjustment, ReCreateX.WebShop.WebServices.Contracts",
      "SubscriptionId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "CustomerCardUsages": null,
      "Quantity": 0,
      "RuleNamesToIgnore": null,
      "UnitPrice": 0.0,
      "AdvancementPrice": 0.0,
      "AsReseller": false,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "PromotionRuleDiscountAmount": 0.0
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response