POST api/v7/TransactionLookups/TrustedCustomerUpdate

This method will add a non-receipted return for the specified customer on the specified date

Request Information

URI Parameters

None.

Body Parameters

The non-receipted return update request data containing the customer ID and transaction date.

TrustedCustomerRequest
NameDescriptionTypeRequired?Additional information
MessageContent

string

No

None.

MessageType

string

No

None.

Request

TrustedCustomerRequestData

No

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageContent": "sample string 1",
  "MessageType": "sample string 2",
  "Request": {
    "Customer": {
      "CustomerID": "sample string 1",
      "CustomerIDType": "sample string 2"
    },
    "ReturnsThreshold": "sample string 1",
    "ReceiptRetentionDays": "sample string 2",
    "ReceiptRetentionTime": "sample string 3",
    "ReceiptDateTime": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<Lookup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" content="sample string 1" type="sample string 2">
  <RequestData>
    <Customer>
      <CustomerID>sample string 1</CustomerID>
      <CustomerIDType>sample string 2</CustomerIDType>
    </Customer>
    <ReturnsThreshold>sample string 1</ReturnsThreshold>
    <ReceiptRetentionDays>sample string 2</ReceiptRetentionDays>
    <ReceiptRetentionTime>sample string 3</ReceiptRetentionTime>
    <ReceiptDateTime>sample string 4</ReceiptDateTime>
  </RequestData>
</Lookup>

Response Information

Resource Description

An update response data including a Success element indicating if the record was added.

HttpResponseMessage
NameDescriptionType
Version

Version
Content

HttpContent
StatusCode

HttpStatusCode
ReasonPhrase

string
Headers

Collection of Object
RequestMessage

HttpRequestMessage
IsSuccessStatusCode

boolean