---
title: "Create/update store"
method: PUT
path: "/stores/{store_name}"
tags: ["basic"]
---

# Create/update store

`PUT /stores/{store_name}`

## Path parameters

- `store_name` string, required

## Query parameters

- `block_on_existing` boolean

## Request body

- BagStoreDetailed
  - `detail_type` string, required
  - `name` string, required
  - `description` string, required — More information about this store.
  - `store_type` string, required — Type of store.
  - `store_data` object, required — Data that is specific to the store type.
  - `created` string, date-time, required — Date and time this store was added to the bazaar.
  - `default_file_store` string, required — Name of the default file store (empty if no default store)

## Response `200`

Returns the store information

## Other responses

- `400` — General error

---

[API](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api.md) · [All operations](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amz-racing/rosbag-bazaar-api/versions/9167cc5a1f11/schema)
