API reference

Account

Check a key and disconnect a store.

Who this key belongs to (test connection)

get/me

Example request

curl "https://backend.markitmall.com/dropship/v1/me" \
  -H "Authorization: Bearer mk_test_XXXX:sk_test_XXXX"

Response 200

Me

reseller
object
—
reseller.id
string
—
reseller.brandName
string
—
reseller.status
string
—
mode
enum
—

livetest

keyId
string
—
integration
object
—
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/disconnect

Revokes 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 } }.