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

post/api/v4.0/integrations/coupons/validate
    • breaking

      the response property coupons/items/couponRulesLogicalOperator became nullable for the status

    • breaking

      the coupons/items/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 coupons/items/couponRulesLogicalOperator response property for the response status

    • warning

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

    • warning

      added the new undefined enum value to the coupons/items/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 coupons/items/rules to the response with the status

    • info

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

    • info

      removed the 2.00 enum value from the coupons/items/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 coupons/items/couponRulesLogicalOperator to the response with the status

    • info

      added the optional property coupons/items/entitledBranchIds to the response with the status

    • info

      added the optional property coupons/items/entitledCategoryIds to the response with the status

    • warning

      removed the optional property invalidCoupons from the response with the status

    • warning

      removed the optional property validCoupons 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 coupons to the response with the status

    • info

      added the optional property dateToExpire to the response with the status

    • info

      added the optional property lockReference to the response with the status

    • info

      added the optional property valid to the response with the status

    • breaking

      the coupons/items request property type changed from object to string

    • warning

      removed the request property coupons/items/code

    • warning

      removed the request property coupons/items/pin

    • info

      removed the non-success response with the status

    • info

      endpoint added

    • breaking

      api path removed without deprecation