GiftCertificateCalculate

Paths

Example

Example request object

{
  "Criteria": {
    "Basket": {
      "CustomerId": "00000000-0000-0000-0000-000000000000",
      "Items": null,
      "Payments": null,
      "Price": 0.0,
      "DeliveryAddressId": "00000000-0000-0000-0000-000000000000",
      "AdditionalCosts": null,
      "OrderId": null,
      "PayLater": false,
      "ExcludeCosts": null,
      "AdditionalDiscounts": null,
      "TrxId": null,
      "PayId": null,
      "CouponCodes": null,
      "Balance": 0.0,
      "ContactId": "00000000-0000-0000-0000-000000000000",
      "Comment": null,
      "AnonymousPerson": null,
      "StaffMemberId": "00000000-0000-0000-0000-000000000000",
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "GiftCertificates": null,
      "CustomerZipCodeId": "00000000-0000-0000-0000-000000000000",
      "ResellerCodeId": null,
      "TescoCodes": null,
      "IncertCodes": null,
      "SalesZoneTableId": null,
      "SalesQuestionAnswers": null
    }
  },
  "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

{
  "GiftCertificateCalculateResult": {
    "Status": 0,
    "Discounts": [
      {
        "Discount": 0.0,
        "Name": null,
        "Number": null,
        "DivisionCardID": "00000000-0000-0000-0000-000000000000",
        "RemainingAmount": 0.0
      }
    ]
  }
}

ShouldBeExecuted

Postdata

Response