Skip to main content
POST
/
Sale
/
dx
/
api
/
application
/
v2
/
objects
Create Sale
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"
  }
}
'
{
  "data": {
    "objectInfo": {
      "status": "Pending-Ready To Process"
    }
  },
  "ID": "STE6TG95YWx0eV9fU2FsZUNhc2VfNjg5YmE0OTcxZGQzOTQyZjgxMTUzNzg2",
  "confirmationNote": "The next step has been routed appropriately."
}

Response

201 - application/json

Created