Merchants
DEL/v1/merchant/services/{id}

Archive merchant service

View as .md
curl -X DELETE "https://api.52-28-238-205.sslip.io/v1/merchant/services/{id}" \  -H "Cookie: <console session cookie>"

Archives a merchant service so it no longer appears or accepts payments. Console session or API key with catalog:edit.

Server URLhttps://api.52-28-238-205.sslip.io
DEL/v1/merchant/services/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • idstringrequired

    Catalog service id (svc_...).

Requires permissioncatalog:edit
Held by merchant_owner, merchant_developer. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Catalog service id (svc_...).

Response Body

Success.

application/json
  1. response
ok*Ok
[key: string]?any