---
title: "Create a location"
method: POST
path: "/v1/locations"
tags: ["Locations"]
---

# Create a location

`POST /v1/locations`

## Request

- Base URL: `https://orders-api.paymongo.com`
- URL: `https://orders-api.paymongo.com/v1/locations`
- Auth: HTTP basic

Creates a catalog location for the caller's organization.

## Request body

- CreateLocationRequestDTO
  - `location_slug` string, required
  - `name` string, required
  - `order_number_mode` 'daily' | 'sequential': OrderNumberMode is "daily" (resets each Asia/Manila day) or "sequential" (never resets). Defaults to "daily" when omitted.
  - `pass_on_fees` boolean: PassOnFees charges the payer the processing fees on every checkout session of this location. Defaults to false.
  - `review_url` string
  - `warehouse_ids` string[]: WarehouseIDs are the inventories-api warehouses the location sells from, at most 100. Omit to leave the menu untracked.

## Response `201`

Created

- object: Standard response containing data and its metadata if any
  - `data` LocationResponseDTO
    - `branding` BrandingResponseDTO
      - `accent_color` string
      - `brand_color` string
      - `header_alignment` string
      - `icon_url` string
      - `logo_url` string
      - `prefer_logo_over_icon` boolean
      - `show_paymongo_badge` boolean
    - `created_at` string
    - `id` string
    - `is_deleted` boolean
    - `livemode` boolean
    - `location_slug` string
    - `name` string
    - `order_number_mode` 'daily' | 'sequential'
    - `pass_on_fees` boolean
    - `purchase_validation_enabled` boolean
    - `review_url` string
    - `status` string
    - `updated_at` string
    - `warehouse_ids` string[]
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `default`

---

[API](https://skmtc.dev/paymongo/apis/orders.md) - [All operations](https://skmtc.dev/paymongo/apis/orders/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/orders/revisions/7962c4ea82b5?raw)
