Returns the details of a specific country. See api docs.
Options schema:
interface options {
iso: string
}
Success response schema: Success schema
Failure response schema: Error schema
Example:
const country = await client.countries.show({
iso: 'USA'
})
Returns the default country for the current store. By default this will be the US. See api docs.
Success response schema: Success schema
Failure response schema: Error schema
Example:
const countries = await client.countries.default()
Optional
options: _DeepAnyObjectObject<Record<string, unknown> & IQuery & Record<string, any>>Protected
spreeOptional
tokens: ITokenOptional
params: anyOptional
responseParsing: ResponseParsingProtected
classifyProtected
processProtected
processProtected
spreeGenerated using TypeDoc
Returns a list of all countries. See api docs.
Success response schema: Success schema
Failure response schema: Error schema
Example: