Skip to main content
POST
/
v1
/
track
/
{code}
cURL
curl --request POST \
  --url https://api.afficone.com/v1/track/{code} \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "orderId": "<string>",
  "paid": true,
  "timestamp": 123,
  "isRoyalty": true,
  "custom": true,
  "commission": 123,
  "notes": "<string>",
  "coupons": [
    "<string>"
  ],
  "customer": {
    "name": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "ip": "<string>",
    "country": "<string>"
  },
  "products": [
    {
      "id": "<string>",
      "name": "<string>",
      "quantity": 123,
      "total": 123,
      "subTotal": 123,
      "tax": 123
    }
  ],
  "metadata": {}
}'
Make sure you’re sending over all required fields.

Path Parameters

code
string
required

Body

orderId
string
required
Minimum length: 1
products
object[]
required
paid
boolean
timestamp
integer | null
isRoyalty
boolean | null
custom
boolean | null
commission
number | null
notes
string | null
coupons
string[] | null
customer
object
metadata
object | null

Response

200