GET api/v1/get-couponcodelist?custGuid={custGuid}&clientid={clientid}&sellerid={sellerid}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
custGuid

globally unique identifier

Required

clientid

integer

Required

sellerid

integer

Default value is 0

Response Information

Description:

Return type: Collection of DiscountCouponCode

Response Formats
[
  {
    "DiscountManagerId": 1,
    "DiscountTypeId": 2,
    "DiscountValue": 3.0,
    "ExpireOn": "2025-06-18T13:18:14.5548765+00:00",
    "DiscountMessage": "sample string 4",
    "OrderAmount": 1.0,
    "CouponCode": "sample string 5",
    "IsCouponRequired": true,
    "IsActive": true,
    "IsLogicalDeleted": true,
    "DiscountStartDate": "2025-06-18T13:18:14.5548765+00:00",
    "DiscountCustomerTypeId": 1,
    "IsAmount": true
  },
  {
    "DiscountManagerId": 1,
    "DiscountTypeId": 2,
    "DiscountValue": 3.0,
    "ExpireOn": "2025-06-18T13:18:14.5548765+00:00",
    "DiscountMessage": "sample string 4",
    "OrderAmount": 1.0,
    "CouponCode": "sample string 5",
    "IsCouponRequired": true,
    "IsActive": true,
    "IsLogicalDeleted": true,
    "DiscountStartDate": "2025-06-18T13:18:14.5548765+00:00",
    "DiscountCustomerTypeId": 1,
    "IsAmount": true
  }
]
[{"DiscountManagerId":1,"DiscountTypeId":2,"DiscountValue":3.0,"ExpireOn":"2025-06-18T13:18:14.5548765+00:00","DiscountMessage":"sample string 4","OrderAmount":1.0,"CouponCode":"sample string 5","IsCouponRequired":true,"IsActive":true,"IsLogicalDeleted":true,"DiscountStartDate":"2025-06-18T13:18:14.5548765+00:00","DiscountCustomerTypeId":1,"IsAmount":true},{"DiscountManagerId":1,"DiscountTypeId":2,"DiscountValue":3.0,"ExpireOn":"2025-06-18T13:18:14.5548765+00:00","DiscountMessage":"sample string 4","OrderAmount":1.0,"CouponCode":"sample string 5","IsCouponRequired":true,"IsActive":true,"IsLogicalDeleted":true,"DiscountStartDate":"2025-06-18T13:18:14.5548765+00:00","DiscountCustomerTypeId":1,"IsAmount":true}]
<ArrayOfDiscountCouponCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Discount">
  <DiscountCouponCode>
    <CouponCode>sample string 5</CouponCode>
    <DiscountCustomerTypeId>1</DiscountCustomerTypeId>
    <DiscountManagerId>1</DiscountManagerId>
    <DiscountMessage>sample string 4</DiscountMessage>
    <DiscountStartDate>2025-06-18T13:18:14.5548765+00:00</DiscountStartDate>
    <DiscountTypeId>2</DiscountTypeId>
    <DiscountValue>3</DiscountValue>
    <ExpireOn>2025-06-18T13:18:14.5548765+00:00</ExpireOn>
    <IsActive>true</IsActive>
    <IsAmount>true</IsAmount>
    <IsCouponRequired>true</IsCouponRequired>
    <IsLogicalDeleted>true</IsLogicalDeleted>
    <OrderAmount>1</OrderAmount>
  </DiscountCouponCode>
  <DiscountCouponCode>
    <CouponCode>sample string 5</CouponCode>
    <DiscountCustomerTypeId>1</DiscountCustomerTypeId>
    <DiscountManagerId>1</DiscountManagerId>
    <DiscountMessage>sample string 4</DiscountMessage>
    <DiscountStartDate>2025-06-18T13:18:14.5548765+00:00</DiscountStartDate>
    <DiscountTypeId>2</DiscountTypeId>
    <DiscountValue>3</DiscountValue>
    <ExpireOn>2025-06-18T13:18:14.5548765+00:00</ExpireOn>
    <IsActive>true</IsActive>
    <IsAmount>true</IsAmount>
    <IsCouponRequired>true</IsCouponRequired>
    <IsLogicalDeleted>true</IsLogicalDeleted>
    <OrderAmount>1</OrderAmount>
  </DiscountCouponCode>
</ArrayOfDiscountCouponCode>