Conversion

Notizen
Expertenstufe
Der API-Schlüssel sollte als Bearer-Token im Authorization-Header der Anfrage gesendet werden. Holen Sie sich Ihren API-Schlüssel.
Speichern

API-Endpunkt:

POST
https://heimdall.show/api/v1/conversion

Beispielanfrage:

curl --location --request POST 'https://heimdall.show/api/v1/conversion' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'domain={domain}'
Parameter
Typ
Beschreibung
domain
erforderlich string
Der Domainname.
netTotal
erforderlich string
The order subtotal amount after discounts are added but before additional fees such as taxes, delivery charges, or service charges are added.
finalTotalGrossAmount
optional string
The final total basket amount.
referenz
erforderlich string
The reference id for your order like your Order-Number
date
optional string
The date of the Conversion
basketProductCount
optional integer
Count of products in the basket.
productIds
optional string
ProductIds in the Basket. Example: "1234,2345,6789"
quantities
optional string
Quantity of the Products. Example: "1,3,1"
channel
optional string
The name of the channel that identified as the last click referrer.
voucher
optional string
The voucher code used in the transaction. Example: "GET10,WELCOME,5off"
customersOrderCount
optional integer
The Order Count of the Customer. If it is his first order then "1" else ":numberOfOrders"
Aktualisieren

API-Endpunkt:

PUT PATCH
https://heimdall.show/api/v1/conversion/{id}

Beispielanfrage:

curl --location --request PUT 'https://heimdall.show/api/v1/conversion/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parameter
Typ
Beschreibung
netTotal
erforderlich string
The order subtotal amount after discounts are added but before additional fees such as taxes, delivery charges, or service charges are added.
finalTotalGrossAmount
optional string
The final total basket amount.
referenz
erforderlich string
The reference id for your order like your Order-Number
date
optional string
The date of the Conversion
basketProductCount
optional integer
Count of products in the basket.
productIds
optional string
ProductIds in the Basket. Example: "1234,2345,6789"
quantities
optional string
Quantity of the Products. Example: "1,3,1"
channel
optional string
The name of the channel that identified as the last click referrer.
voucher
optional string
The voucher code used in the transaction. Example: "GET10,WELCOME,5off"
customersOrderCount
optional integer
The Order Count of the Customer. If it is his first order then "1" else ":numberOfOrders"