post

/merchant/projects/{project_id}/store/region

Creates a region.

You can use a region for managing your regional prices.

Authorization

basic

Request Parameters

1 Path Parameter

Request Body

Object with region data.

Schema
object
$schema: http://json-schema.org/draft-04/schema#
name
object

Name of region. Should contain key/value pairs, where key is locale with format “^[a-z]{2}-[A-Z]{2}$”, value is string.

1 validation + required
countries
array[string]
2 validations + required

Responses

Region was successfully created

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
region_id
integer

Region ID. Unique region identifier within the project.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
project_id
$$.env
2 variables not set
username
password