Create a caravan

post/caravans
Creates a new caravan in forming status.

Request Body

required

application/json

namestringrequired

Human-readable caravan name

descriptionstring

Optional description of the caravan

routestring ("sahara_crossing" | "oasis_loop" | "silk_road_west" | "nile_delta" | "atlas_pass")

Assigned trade route

camel_countinteger

Number of camels assigned to the caravan

Responses

201Created

application/json

idstringrequired

Unique caravan identifier

namestringrequired

Human-readable caravan name

descriptionstring

Optional description of the caravan

routestring ("sahara_crossing" | "oasis_loop" | "silk_road_west" | "nile_delta" | "atlas_pass")

Assigned trade route

statusstring ("forming" | "ready" | "in_transit" | "arrived" | "resting" | "retired")required

Current lifecycle status

camel_countinteger

Number of camels assigned to the caravan

lead_trader_namestring

Name of the trader responsible for the caravan

origin_marketstring

Market where the caravan begins its route

destination_marketstring

Primary market destination for the caravan

scheduled_departure_atstring (date-time)

Planned departure time for the caravan

estimated_arrival_atstring (date-time)

Estimated arrival time at the destination market

manifest_idstring

Active cargo manifest assigned to the caravan

created_atstring (date-time)required

When the caravan was created

updated_atstring (date-time)

When the caravan was last updated

Errors