BizKitHub
DokumentationAPI-ExplorerOrder/api/v1/shop/order/storno
postOrderÖffentliche API v1

/api/v1/shop/order/storno

Keine Beschreibung vorhanden.

orderpostApiV1ShopOrderStorno

Parameter

1 in der Query · JSON-Body

Query-Parameter

· 1
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Request-Body

application/json
orderIdstringPflicht
Länge: 32
BeispielsSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S
orderItemIdstringOptional
BeispielsSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186
identityIdstringOptional

Logged customer identity. When sent, the order must belong to this customer (403 NOT_OWNER otherwise). Will become required.

Antwortschema

3 dokumentierte Statuscodes

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
success"true"Pflicht
Variante 2
success"false"Pflicht
messagestringPflicht
BeispielCustomer does not exist.

Antwortbeispiel

application/json
{
  "success": true
}

Alle dokumentierten Statuscodes

· 3

Anfragebeispiel

POST /api/v1/shop/order/storno

post
curl -X POST "https://api.bizkithub.com/api/v1/shop/order/storno?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "orderId": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S",
  "orderItemId": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186",
  "identityId": "example_identityId"
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten