Skip to content
Cipay
Esc
navigateopen⌘Jpreview

Resolve current storefront ownership

GET/v2/public/storefronts/{locator}/resolve
Path parameters
locatorstringrequired
min length 1 · max length 160
Query parameters
langstring
Allowed:enar
expectedMerchantIdstring<uuid>
expectedHostRevisioninteger
min -9007199254740991 · max 9007199254740991
Header parameters
x-request-idstring
Optional caller-provided request correlation ID.
min length 1
Responses
200OK
bindingobject | anyrequired
Show properties
Any of:
object
merchantIdstring<uuid>required
environmentstringrequired
Allowed:sandboxproduction
hostnamestringrequired
min length 1 · max length 253
publicSlugstringrequired
min length 1 · max length 63
hostRevisionintegerrequired
min -9007199254740991 · max 9007199254740991
publicContentRevisionintegerrequired
min -9007199254740991 · max 9007199254740991
defaultLocalestringrequired
Allowed:enar
any
any
404Standard Cipay error response.
errorobjectrequired
Show properties
codestringrequired
min length 1
messagestringrequired
min length 1
requestIdstringrequired
min length 1
detailsobject
422Standard Cipay error response.
errorobjectrequired
Show properties
codestringrequired
min length 1
messagestringrequired
min length 1
requestIdstringrequired
min length 1
detailsobject
429Standard Cipay error response.
errorobjectrequired
Show properties
codestringrequired
min length 1
messagestringrequired
min length 1
requestIdstringrequired
min length 1
detailsobject
500Standard Cipay error response.
errorobjectrequired
Show properties
codestringrequired
min length 1
messagestringrequired
min length 1
requestIdstringrequired
min length 1
detailsobject
Request
curl -X GET "https://api.cipay.net/v2/public/storefronts/string/resolve"
Response
{
  "binding": {
    "merchantId": "<uuid>",
    "environment": "sandbox",
    "hostname": "string",
    "publicSlug": "string",
    "hostRevision": 0,
    "publicContentRevision": 0,
    "defaultLocale": "en"
  }
}