2020-12-12 14:07:25 +09:00
{
"paths" : {
2022-10-12 15:19:33 +02:00
"/misc/rate-sources" : {
"get" : {
"tags" : [
"Miscelleneous"
] ,
"summary" : "Get available rate sources" ,
"description" : "View available rate providers that you can use in stores" ,
"operationId" : "GetRateSources" ,
"responses" : {
"200" : {
"description" : "rate providers array" ,
"content" : {
"application/json" : {
"schema" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"id" : {
"type" : "string" ,
"description" : "The id of the rate provider"
} ,
"name" : {
"type" : "string" ,
"description" : "The name of the rate provider"
}
}
}
}
}
}
2022-10-25 13:37:36 +02:00
} ,
"default" : {
"description" : "Unexpected error" ,
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemDetails"
}
}
}
2022-10-12 15:19:33 +02:00
}
} ,
"security" : [ ]
}
} ,
2021-07-08 14:34:10 +09:00
"/misc/permissions" : {
"get" : {
"tags" : [
"Miscelleneous"
] ,
"summary" : "Permissions metadata" ,
"description" : "The metadata of available permissions" ,
"operationId" : "permissionsMetadata" ,
"responses" : {
"200" : {
"description" : "The metadata of available permissions" ,
"content" : {
"application/json" : {
"schema" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string" ,
"description" : "The permission id" ,
"nullable" : false
} ,
"included" : {
"type" : "array" ,
"description" : "Permissions included in this array are also granted by this permission" ,
"nullable" : false ,
"items" : {
"type" : "string"
}
}
}
}
}
}
}
2022-10-25 13:37:36 +02:00
} ,
"default" : {
"description" : "Unexpected error" ,
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemDetails"
}
}
}
2021-07-08 14:34:10 +09:00
}
} ,
"security" : [ ]
}
} ,
2020-12-12 14:07:25 +09:00
"/misc/lang" : {
"get" : {
"tags" : [
2021-07-08 14:34:10 +09:00
"Miscelleneous"
2020-12-12 14:07:25 +09:00
] ,
"summary" : "Language codes" ,
"description" : "The supported language codes" ,
"operationId" : "langCodes" ,
"responses" : {
"200" : {
"description" : "The supported language codes" ,
"content" : {
"application/json" : {
"schema" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "string" ,
"description" : "The language code" ,
"nullable" : false
} ,
"currentLanguage" : {
"type" : "string" ,
"description" : "The language name" ,
"nullable" : false
}
}
}
}
}
}
2022-10-25 13:37:36 +02:00
} ,
"default" : {
"description" : "Unexpected error" ,
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ProblemDetails"
}
}
}
2020-12-12 14:07:25 +09:00
}
} ,
"security" : [ ]
}
} ,
"/i/{invoiceId}" : {
"parameters" : [
{
"name" : "invoiceId" ,
"in" : "path" ,
"required" : true ,
"description" : "The invoice id" ,
"schema" : {
"type" : "string"
}
} ,
{
"name" : "lang" ,
"in" : "query" ,
"required" : false ,
2021-07-27 08:17:56 +02:00
"description" : "The preferred language of the checkout page. You can use \"auto\" to use the language of the customer's browser or see the list of language codes with [this operation](#operation/langCodes)." ,
2020-12-12 14:07:25 +09:00
"schema" : {
"type" : "string"
}
}
] ,
"get" : {
"tags" : [
2021-07-08 14:34:10 +09:00
"Miscelleneous"
2020-12-12 14:07:25 +09:00
] ,
2022-08-15 15:28:41 +02:00
"operationId" : "Invoice_Checkout" ,
2020-12-12 14:07:25 +09:00
"summary" : "Invoice checkout" ,
"description" : "View the checkout page of an invoice" ,
"responses" : {
"200" : {
"description" : "The checkout page" ,
"content" : {
"text/html" : {
"example" : "The HTML checkout page of the invoice"
}
}
}
} ,
"security" : [ ]
}
}
} ,
"tags" : [
{
2022-10-25 13:37:36 +02:00
"name" : "Miscelleneous" ,
"description" : "Miscelleneous operations"
2020-12-12 14:07:25 +09:00
}
]
}