CouponReserve

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,
      "FashionChequeCodes": null,
      "SalesZoneTableId": null,
      "SalesQuestionAnswers": null,
      "GezinsbondCard": 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

{
  "CouponReserveResult": {
    "Status": 0,
    "Discounts": [
      {
        "DiscountAmount": 0.0,
        "CouponID": "00000000-0000-0000-0000-000000000000",
        "CouponCode": null,
        "CouponDescription": null
      }
    ],
    "CouponReservations": [
      "00000000-0000-0000-0000-000000000000"
    ]
  }
}

ShouldBeExecuted

Postdata

Response