Party

Create a Party location

Changed on

Delegated credentials require parties:write. Use cases require administrator/internal authority, membership in this Party's active partnership, or an explicit location management grant. Non-administrator users must be unsuspended. Membership removal or partnership dissolution removes derived authority; independent explicit grants survive. Listing-write scope does not confer access.

post/api/v1/parties/{party_id}/locations

Request

  • Base URL: https://api.stage.aura-historia.com
  • URL: https://api.stage.aura-historia.com/api/v1/parties/{party_id}/locations
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

party_idstring required

Strict Party TypeID.

Headers

Idempotency-Keystring required

Exactly one key. Stable per Party and trusted caller identity; matching retries converge, conflicting command reuse returns 409.

Request body

labelstring required

Trimmed nonblank single-line label, at most 255 UTF-8 bytes. Never establishes site identity.

rolesstring[]

Business use of a site. No assertion about listing stock, dispatch or pickup.

Response

Created location; matching retries replay the original creation result.

idstring required

Strict UUIDv7 PartyLocation TypeID; bare UUIDs and foreign prefixes are rejected.

partyIdstring required
labelstring required

Trimmed nonblank single-line label, at most 255 UTF-8 bytes. Never establishes site identity.

rolesstring[] required

Business use of a site. No assertion about listing stock, dispatch or pickup.

lifecycle'ACTIVE' | 'RETIRED' required
revisioninteger required
inputRevisioninteger required

Changes