Shops > Domains > domainsFetchCert
Commerce APIShopsDomainsdomainsFetchCert
domainsFetchCert
POST:domains/fetch_cert.json

Description

Ask a system to fetch SSL certificate for this domain. Can be invoked many times, but SSL fetching will be prevented in certain cases. Such as if domain already has a valid certificate, or an attempt to fetch a certificate was made recently.

Permission bit: "domains.read"

Topic: Domains

Arguments

domain_id: String!

Unique domain identifier. See also: Unique Identifiers

Example: "do_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

Boolean

Preview (typescript)

Loading module