Orders

Apply Discount on Order

post/ws/v1/orders/apply-discount

Request

  • Base URL
    https://api.iranpayamak.com
  • Auth
    API key in header Api-Key

Headers

Acceptstring

Request body multipart/form-data

orderIdstring
discountCodestring

Example request

{
  "orderId": "18",
  "discountCode": "test"
}

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.