Skip to main content
POST
/
api
/
v1
/
locations.json
Create Location
curl --request POST \
  --url https://api.launchmystore.io/api/v1/locations.json \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "address1": "<string>",
  "address2": "<string>",
  "city": "<string>",
  "province": "<string>",
  "country_code": "<string>",
  "zip": "<string>",
  "phone": "<string>",
  "fulfills_online_orders": true
}
'
{
  "success": true,
  "data": {
    "id": "loc_new123",
    "name": "West Coast Warehouse",
    "address1": "789 Shipping Blvd",
    "city": "Seattle",
    "province": "Washington",
    "province_code": "WA",
    "country": "United States",
    "country_code": "US",
    "zip": "98101",
    "is_primary": false,
    "is_active": true,
    "fulfills_online_orders": true,
    "created_at": "2024-01-20T14:30:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Body Parameters

name
string
required
Location name
address1
string
required
Street address
address2
string
Apartment, suite, etc.
city
string
required
City
province
string
State/Province
country_code
string
required
ISO country code
zip
string
required
Postal/ZIP code
phone
string
Contact phone
fulfills_online_orders
boolean
default:"true"
Can fulfill online orders

Response

{
  "success": true,
  "data": {
    "id": "loc_new123",
    "name": "West Coast Warehouse",
    "address1": "789 Shipping Blvd",
    "city": "Seattle",
    "province": "Washington",
    "province_code": "WA",
    "country": "United States",
    "country_code": "US",
    "zip": "98101",
    "is_primary": false,
    "is_active": true,
    "fulfills_online_orders": true,
    "created_at": "2024-01-20T14:30:00Z"
  }
}