Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.example.com/Sale/dx/api/application/v2/objects \
--header 'Content-Type: application/json' \
--data '
{
"objectTypeID": "SaleCase",
"content": {
"Origin": "API",
"ExternalID": "3a55aa921945595279542051",
"SaleChannelCode": "TT01",
"PointOfSaleID": "10",
"SaleItems": [
{
"ProductCode": "19529",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19527",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19856",
"Quantity": 1,
"TotalAmount": 10
}
],
"SaleDateTime": "2025-07-01T10:56:27.066Z",
"MemberExternalID": "99691eb263-3573-4be4-90b5-abe027d7b4ec",
"StoreCode": "NW-RJ567"
}
}
'import requests
url = "https://api.example.com/Sale/dx/api/application/v2/objects"
payload = {
"objectTypeID": "SaleCase",
"content": {
"Origin": "API",
"ExternalID": "3a55aa921945595279542051",
"SaleChannelCode": "TT01",
"PointOfSaleID": "10",
"SaleItems": [
{
"ProductCode": "19529",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19527",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19856",
"Quantity": 1,
"TotalAmount": 10
}
],
"SaleDateTime": "2025-07-01T10:56:27.066Z",
"MemberExternalID": "99691eb263-3573-4be4-90b5-abe027d7b4ec",
"StoreCode": "NW-RJ567"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
objectTypeID: 'SaleCase',
content: {
Origin: 'API',
ExternalID: '3a55aa921945595279542051',
SaleChannelCode: 'TT01',
PointOfSaleID: '10',
SaleItems: [
{ProductCode: '19529', Quantity: 1, TotalAmount: 10},
{ProductCode: '19527', Quantity: 1, TotalAmount: 10},
{ProductCode: '19856', Quantity: 1, TotalAmount: 10}
],
SaleDateTime: '2025-07-01T10:56:27.066Z',
MemberExternalID: '99691eb263-3573-4be4-90b5-abe027d7b4ec',
StoreCode: 'NW-RJ567'
}
})
};
fetch('https://api.example.com/Sale/dx/api/application/v2/objects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/Sale/dx/api/application/v2/objects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'objectTypeID' => 'SaleCase',
'content' => [
'Origin' => 'API',
'ExternalID' => '3a55aa921945595279542051',
'SaleChannelCode' => 'TT01',
'PointOfSaleID' => '10',
'SaleItems' => [
[
'ProductCode' => '19529',
'Quantity' => 1,
'TotalAmount' => 10
],
[
'ProductCode' => '19527',
'Quantity' => 1,
'TotalAmount' => 10
],
[
'ProductCode' => '19856',
'Quantity' => 1,
'TotalAmount' => 10
]
],
'SaleDateTime' => '2025-07-01T10:56:27.066Z',
'MemberExternalID' => '99691eb263-3573-4be4-90b5-abe027d7b4ec',
'StoreCode' => 'NW-RJ567'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/Sale/dx/api/application/v2/objects"
payload := strings.NewReader("{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/Sale/dx/api/application/v2/objects")
.header("Content-Type", "application/json")
.body("{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/Sale/dx/api/application/v2/objects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"objectInfo": {
"status": "Pending-Ready To Process"
}
},
"ID": "STE6TG95YWx0eV9fU2FsZUNhc2VfNjg5YmE0OTcxZGQzOTQyZjgxMTUzNzg2",
"confirmationNote": "The next step has been routed appropriately."
}curl --request POST \
--url https://api.example.com/Sale/dx/api/application/v2/objects \
--header 'Content-Type: application/json' \
--data '
{
"objectTypeID": "SaleCase",
"content": {
"Origin": "API",
"ExternalID": "3a55aa921945595279542051",
"SaleChannelCode": "TT01",
"PointOfSaleID": "10",
"SaleItems": [
{
"ProductCode": "19529",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19527",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19856",
"Quantity": 1,
"TotalAmount": 10
}
],
"SaleDateTime": "2025-07-01T10:56:27.066Z",
"MemberExternalID": "99691eb263-3573-4be4-90b5-abe027d7b4ec",
"StoreCode": "NW-RJ567"
}
}
'import requests
url = "https://api.example.com/Sale/dx/api/application/v2/objects"
payload = {
"objectTypeID": "SaleCase",
"content": {
"Origin": "API",
"ExternalID": "3a55aa921945595279542051",
"SaleChannelCode": "TT01",
"PointOfSaleID": "10",
"SaleItems": [
{
"ProductCode": "19529",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19527",
"Quantity": 1,
"TotalAmount": 10
},
{
"ProductCode": "19856",
"Quantity": 1,
"TotalAmount": 10
}
],
"SaleDateTime": "2025-07-01T10:56:27.066Z",
"MemberExternalID": "99691eb263-3573-4be4-90b5-abe027d7b4ec",
"StoreCode": "NW-RJ567"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
objectTypeID: 'SaleCase',
content: {
Origin: 'API',
ExternalID: '3a55aa921945595279542051',
SaleChannelCode: 'TT01',
PointOfSaleID: '10',
SaleItems: [
{ProductCode: '19529', Quantity: 1, TotalAmount: 10},
{ProductCode: '19527', Quantity: 1, TotalAmount: 10},
{ProductCode: '19856', Quantity: 1, TotalAmount: 10}
],
SaleDateTime: '2025-07-01T10:56:27.066Z',
MemberExternalID: '99691eb263-3573-4be4-90b5-abe027d7b4ec',
StoreCode: 'NW-RJ567'
}
})
};
fetch('https://api.example.com/Sale/dx/api/application/v2/objects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/Sale/dx/api/application/v2/objects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'objectTypeID' => 'SaleCase',
'content' => [
'Origin' => 'API',
'ExternalID' => '3a55aa921945595279542051',
'SaleChannelCode' => 'TT01',
'PointOfSaleID' => '10',
'SaleItems' => [
[
'ProductCode' => '19529',
'Quantity' => 1,
'TotalAmount' => 10
],
[
'ProductCode' => '19527',
'Quantity' => 1,
'TotalAmount' => 10
],
[
'ProductCode' => '19856',
'Quantity' => 1,
'TotalAmount' => 10
]
],
'SaleDateTime' => '2025-07-01T10:56:27.066Z',
'MemberExternalID' => '99691eb263-3573-4be4-90b5-abe027d7b4ec',
'StoreCode' => 'NW-RJ567'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/Sale/dx/api/application/v2/objects"
payload := strings.NewReader("{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/Sale/dx/api/application/v2/objects")
.header("Content-Type", "application/json")
.body("{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/Sale/dx/api/application/v2/objects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"objectTypeID\": \"SaleCase\",\n \"content\": {\n \"Origin\": \"API\",\n \"ExternalID\": \"3a55aa921945595279542051\",\n \"SaleChannelCode\": \"TT01\",\n \"PointOfSaleID\": \"10\",\n \"SaleItems\": [\n {\n \"ProductCode\": \"19529\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19527\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n },\n {\n \"ProductCode\": \"19856\",\n \"Quantity\": 1,\n \"TotalAmount\": 10\n }\n ],\n \"SaleDateTime\": \"2025-07-01T10:56:27.066Z\",\n \"MemberExternalID\": \"99691eb263-3573-4be4-90b5-abe027d7b4ec\",\n \"StoreCode\": \"NW-RJ567\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"objectInfo": {
"status": "Pending-Ready To Process"
}
},
"ID": "STE6TG95YWx0eV9fU2FsZUNhc2VfNjg5YmE0OTcxZGQzOTQyZjgxMTUzNzg2",
"confirmationNote": "The next step has been routed appropriately."
}Created
