POST api/Customers/Patch?couponCode={couponCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
couponCode

string

None.

Body Parameters

Collection of CustomerUpdateIn
NameDescriptionTypeAdditional information
CustomerID

globally unique identifier

None.

TicketID

globally unique identifier

None.

Name

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustomerID": "b6ebc5f2-1206-4cd4-b3a0-a9a31b173002",
    "TicketID": "f2463585-b12d-4d6f-aa10-20ffa268eea3",
    "Name": "sample string 3",
    "Value": "sample string 4"
  },
  {
    "CustomerID": "b6ebc5f2-1206-4cd4-b3a0-a9a31b173002",
    "TicketID": "f2463585-b12d-4d6f-aa10-20ffa268eea3",
    "Name": "sample string 3",
    "Value": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerUpdateIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerUpdateIn>
    <CustomerID>b6ebc5f2-1206-4cd4-b3a0-a9a31b173002</CustomerID>
    <Name>sample string 3</Name>
    <TicketID>f2463585-b12d-4d6f-aa10-20ffa268eea3</TicketID>
    <Value>sample string 4</Value>
  </CustomerUpdateIn>
  <CustomerUpdateIn>
    <CustomerID>b6ebc5f2-1206-4cd4-b3a0-a9a31b173002</CustomerID>
    <Name>sample string 3</Name>
    <TicketID>f2463585-b12d-4d6f-aa10-20ffa268eea3</TicketID>
    <Value>sample string 4</Value>
  </CustomerUpdateIn>
</ArrayOfCustomerUpdateIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.