Routes
Regions

Create Region

Creates a region.

Parameters:

ParameterInTypeRequiredDefaultDescription
namebodystringyesRegion name
parentRegionIDbodyintegerno0Parent region (≥ 0). Use 0 for no parent. Values greater than 0 must be an existing region ID for your account.

Responses:

  • 201 Created: { regionID } with Location header.
  • 400 Bad Request: { success: false, message: "Invalid parentRegionID" } when parentRegionID is provided and greater than 0 but no matching region exists for your account.
post/v2/regions

Request

Response

201 Created

regionIDinteger

Changes

No recorded changes to this operation across all 4 revisions of this API.