POST:organizations.json
Commerce APIPOST:organizations.json

POST:organizations.json

organizationsCreate

Description

Create a new organization.

Even though API takes array as body, creating only one organization at a time is allowed. API looks like that for consistency reasons.

Topic: Organizations

Query Parameters

organization_id: String

Unique organization identifier. See also: Unique Identifiers

Example: ?organization_id=og_EQzGqWoY

Request Body

Array of OrganizationCreate

[
  {
    "billing_address": {
      "address1": "Chestnut Street 92",
      "address2": "Apartment 2",
      "city": "Louisville",
      "company": "Google inc.",
      "country": "US",
      "id": "ad_EQzGqWoY",
      "name": "John Smith",
      "phone": "5556251199",
      "plus_code": "PQ7W+WM",
      "province": "KY",
      "zip": "40202"
    },
    "name": "FooBar Inc.",
    "plan_id": "Medium",
    "test": false
  }
]

Response Body

Array of Organization

Response Body Type

Loading module