API reference
Account
Check a key and disconnect a store.
get
/meWho this key belongs to (test connection)post/integration/disconnectDisconnect this store (app or plugin uninstalled)Who this key belongs to (test connection)
get
/meExample request
curl "https://backend.markitmall.com/dropship/v1/me" \
-H "Authorization: Bearer mk_test_XXXX:sk_test_XXXX"Response 200
resellerobject | — |
reseller.idstring | — |
reseller.brandNamestring | — |
reseller.statusstring | — |
modeenum | —
|
keyIdstring | — |
integrationobject | — |
Example response
JSON
{
"reseller": {
"id": "66f0c2a1b2c3d4e5f6a7b8c9",
"brandName": "string",
"status": "string"
},
"mode": "live",
"keyId": "66f0c2a1b2c3d4e5f6a7b8c9",
"integration": {}
}Errors: 401 — the body is always { error: { code, message, details } }.
Disconnect this store (app or plugin uninstalled)
post
/integration/disconnectRevokes every key of this integration — including the one making the call — and stops its webhooks. Orders already placed are still delivered and settled.
Example request
curl -X POST "https://backend.markitmall.com/dropship/v1/integration/disconnect" \
-H "Authorization: Bearer mk_test_XXXX:sk_test_XXXX"Response 200
An object; its fields are not fixed.
Example response
JSON
{}Errors: 401 — the body is always { error: { code, message, details } }.
