POST api/v1/usedcouponcodes/use

Request Information

URI Parameters

None.

Body Parameters

UsedCouponCodeDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Value

string

None.

PromotionCode

string

None.

CustomerId

globally unique identifier

None.

SellerId

globally unique identifier

None.

CustomerFirstName

string

None.

CustomerLastName

string

None.

CustomerDni

string

None.

PromotionTitle

string

None.

PromotionBeginDate

date

None.

PromotionEndDate

date

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "8a6130cd-b0b1-4ac3-a0d0-3d2b893847db",
  "value": "sample string 1",
  "promotionCode": "sample string 2",
  "customerId": "fabf5967-cc84-4842-8e29-8d335429bd44",
  "sellerId": "f0b28388-9a90-4bd7-9b5d-aa5345a6a497",
  "customerFirstName": "sample string 3",
  "customerLastName": "sample string 4",
  "customerDni": "sample string 5",
  "promotionTitle": "sample string 6",
  "promotionBeginDate": "2025-08-31T09:14:00.6446507+00:00",
  "promotionEndDate": "2025-08-31T09:14:00.6446507+00:00",
  "creationDate": "2025-08-31T09:14:00.6446507+00:00"
}

application/xml, text/xml

Sample:
<UsedCouponCodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <CreationDate>2025-08-31T09:14:00.6446507+00:00</CreationDate>
  <CustomerDni>sample string 5</CustomerDni>
  <CustomerFirstName>sample string 3</CustomerFirstName>
  <CustomerId>fabf5967-cc84-4842-8e29-8d335429bd44</CustomerId>
  <CustomerLastName>sample string 4</CustomerLastName>
  <Id>8a6130cd-b0b1-4ac3-a0d0-3d2b893847db</Id>
  <PromotionBeginDate>2025-08-31T09:14:00.6446507+00:00</PromotionBeginDate>
  <PromotionCode>sample string 2</PromotionCode>
  <PromotionEndDate>2025-08-31T09:14:00.6446507+00:00</PromotionEndDate>
  <PromotionTitle>sample string 6</PromotionTitle>
  <SellerId>f0b28388-9a90-4bd7-9b5d-aa5345a6a497</SellerId>
  <Value>sample string 1</Value>
</UsedCouponCodeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.