GET api/v1/coupons/usedcouponcodes?request.Limit={request.Limit}&request.Offset={request.Offset}&request.OrderBy={request.OrderBy}&query.CustomerId={query.CustomerId}&query.Kind={query.Kind}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Limit | integer |
None. |
|
Offset | integer |
None. |
|
OrderBy | string |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Kind | KindCouponsFilter |
None. |
Body Parameters
None.
Response Information
Resource Description
MultiResultResponseOfUsedCouponCodeDtoName | Description | Type | Additional information |
---|---|---|---|
Meta | MetaMultiResult |
None. |
|
Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "meta": { "limit": 1, "offset": 2, "totalResults": 3 }, "notifications": [ {}, {} ], "results": [ { "id": "d9e5822c-0f83-43c7-bf82-88f608e5021b", "value": "sample string 1", "promotionCode": "sample string 2", "customerId": "1446df11-d959-4c28-a752-597a955445f9", "sellerId": "7685bc27-8b44-4ae0-aaf0-cdff9ff02f14", "customerFirstName": "sample string 3", "customerLastName": "sample string 4", "customerDni": "sample string 5", "promotionTitle": "sample string 6", "promotionBeginDate": "2025-08-31T12:24:08.9662598+00:00", "promotionEndDate": "2025-08-31T12:24:08.9662598+00:00", "creationDate": "2025-08-31T12:24:08.9662598+00:00" }, { "id": "d9e5822c-0f83-43c7-bf82-88f608e5021b", "value": "sample string 1", "promotionCode": "sample string 2", "customerId": "1446df11-d959-4c28-a752-597a955445f9", "sellerId": "7685bc27-8b44-4ae0-aaf0-cdff9ff02f14", "customerFirstName": "sample string 3", "customerLastName": "sample string 4", "customerDni": "sample string 5", "promotionTitle": "sample string 6", "promotionBeginDate": "2025-08-31T12:24:08.9662598+00:00", "promotionEndDate": "2025-08-31T12:24:08.9662598+00:00", "creationDate": "2025-08-31T12:24:08.9662598+00:00" } ] }
application/xml, text/xml
Sample:
<MultiResultResponseOfUsedCouponCodeDtoaM_S85dVU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response"> <Meta> <Limit>1</Limit> <Offset>2</Offset> <TotalResults>3</TotalResults> </Meta> <Notifications> <Notification /> <Notification /> </Notifications> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <d2p1:UsedCouponCodeDto> <d2p1:CreationDate>2025-08-31T12:24:08.9662598+00:00</d2p1:CreationDate> <d2p1:CustomerDni>sample string 5</d2p1:CustomerDni> <d2p1:CustomerFirstName>sample string 3</d2p1:CustomerFirstName> <d2p1:CustomerId>1446df11-d959-4c28-a752-597a955445f9</d2p1:CustomerId> <d2p1:CustomerLastName>sample string 4</d2p1:CustomerLastName> <d2p1:Id>d9e5822c-0f83-43c7-bf82-88f608e5021b</d2p1:Id> <d2p1:PromotionBeginDate>2025-08-31T12:24:08.9662598+00:00</d2p1:PromotionBeginDate> <d2p1:PromotionCode>sample string 2</d2p1:PromotionCode> <d2p1:PromotionEndDate>2025-08-31T12:24:08.9662598+00:00</d2p1:PromotionEndDate> <d2p1:PromotionTitle>sample string 6</d2p1:PromotionTitle> <d2p1:SellerId>7685bc27-8b44-4ae0-aaf0-cdff9ff02f14</d2p1:SellerId> <d2p1:Value>sample string 1</d2p1:Value> </d2p1:UsedCouponCodeDto> <d2p1:UsedCouponCodeDto> <d2p1:CreationDate>2025-08-31T12:24:08.9662598+00:00</d2p1:CreationDate> <d2p1:CustomerDni>sample string 5</d2p1:CustomerDni> <d2p1:CustomerFirstName>sample string 3</d2p1:CustomerFirstName> <d2p1:CustomerId>1446df11-d959-4c28-a752-597a955445f9</d2p1:CustomerId> <d2p1:CustomerLastName>sample string 4</d2p1:CustomerLastName> <d2p1:Id>d9e5822c-0f83-43c7-bf82-88f608e5021b</d2p1:Id> <d2p1:PromotionBeginDate>2025-08-31T12:24:08.9662598+00:00</d2p1:PromotionBeginDate> <d2p1:PromotionCode>sample string 2</d2p1:PromotionCode> <d2p1:PromotionEndDate>2025-08-31T12:24:08.9662598+00:00</d2p1:PromotionEndDate> <d2p1:PromotionTitle>sample string 6</d2p1:PromotionTitle> <d2p1:SellerId>7685bc27-8b44-4ae0-aaf0-cdff9ff02f14</d2p1:SellerId> <d2p1:Value>sample string 1</d2p1:Value> </d2p1:UsedCouponCodeDto> </Results> </MultiResultResponseOfUsedCouponCodeDtoaM_S85dVU>