Changes to POST /api/v4.0/integrations/coupons/:code/validate

post/api/v4.0/integrations/coupons/{code}/validate
    • breaking

      the response property coupon/couponRulesLogicalOperator became nullable for the status

    • breaking

      the coupon/couponRulesLogicalOperator response's property type changed from integer to string null for status

    • warning

      removed the request property categories

    • warning

      removed the request property productsIds

    • warning

      added the new AND enum value to the coupon/couponRulesLogicalOperator response property for the response status

    • warning

      added the new OR enum value to the coupon/couponRulesLogicalOperator response property for the response status

    • warning

      added the new undefined enum value to the coupon/couponRulesLogicalOperator response property for the response status

    • info

      added the new optional request property channel

    • info

      added the new optional request property extra

    • info

      added the new optional request property lineItems/items/discount

    • info

      added the new optional request property lineItems/items/extra

    • info

      added the new optional request property lineItems/items/price

    • info

      added the new optional request property lineItems/items/quantity

    • info

      added the new optional request property lineItems/items/sku

    • info

      added the new optional request property lineItems/items/tags

    • info

      added the new optional request property lineItems/items/title

    • info

      added the new optional request property lineItems/items/vendor

    • info

      added the new optional request property lineItems/items/weight

    • info

      added the optional property coupon/rules to the response with the status

    • info

      removed the 1.00 enum value from the coupon/couponRulesLogicalOperator response property for the response status

    • info

      removed the 2.00 enum value from the coupon/couponRulesLogicalOperator response property for the response status

    • info

      added the new optional request property branchId

    • info

      added the new optional request property categories

    • info

      added the new optional request property lineItems

    • info

      added the new optional request property productsIds

    • info

      added the optional property coupon/couponRulesLogicalOperator to the response with the status

    • info

      added the optional property coupon/entitledBranchIds to the response with the status

    • info

      added the optional property coupon/entitledCategoryIds to the response with the status

    • warning

      removed the request property pin

    • warning

      removed the optional property discountAmount from the response with the status

    • warning

      removed the optional property discountType from the response with the status

    • warning

      removed the optional property isValid from the response with the status

    • info

      the endpoint scheme security apiKey AND secretKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      added the new optional request property collectionId

    • info

      added the new optional request property collectionsIds

    • info

      added the new optional request property lockDuration

    • info

      added the new optional request property lockReference

    • info

      added the new optional request property merchantId

    • info

      added the new optional request property totalPurchaseAmount

    • info

      added the optional property coupon to the response with the status

    • info

      added the optional property dateToExpire to the response with the status

    • info

      added the optional property valid to the response with the status

    • info

      removed the non-success response with the status

    • info

      endpoint added

    • breaking

      api path removed without deprecation