v1
latestOpenAPI 3.0.02026-07-2688129326.6 KBshop resource
Create shop resource
post/v1/organizers/{organizerId}/events/{eventId}/shops
Path parameters
organizerIdstring objectId required
Resource identifier.
eventIdstring objectId required
Resource identifier.
Request body
Example request
{
"name": "x",
"description": "string",
"shortDescription": "string",
"theme": {
"dark": true,
"primaryColor": "string",
"secondaryColor": "string"
},
"invoiceReferencePrefix": "string",
"preferredLocale": "fr",
"defaultLocale": "fr",
"installments": [
2
],
"salesDetails": {
"orderConfirmationText": "string",
"refundPolicy": "string",
"terms": "string"
},
"needConfirmation": true,
"status": "enabled",
"shopName": "string",
"ticketOfficeLayout": "list",
"categories": [
"eventLocations"
],
"slug": "string",
"orderExpirationDelay": "string",
"referenceHandler": {
"regex": "x",
"hint": "x"
},
"isMain": true
}Response
Success
Example response
{
"name": "x",
"description": "string",
"shortDescription": "string",
"theme": {
"dark": true,
"primaryColor": "string",
"secondaryColor": "string"
},
"invoiceReferencePrefix": "string",
"preferredLocale": "fr",
"defaultLocale": "fr",
"installments": [
2
],
"salesDetails": {
"orderConfirmationText": "string",
"refundPolicy": "string",
"terms": "string"
},
"needConfirmation": true,
"status": "enabled",
"shopName": "string",
"ticketOfficeLayout": "list",
"categories": [
"eventLocations"
],
"slug": "string",
"orderExpirationDelay": "string",
"referenceHandler": {
"regex": "x",
"hint": "x"
},
"isMain": true,
"_id": "64b7f8b6f23a4a4f3d0a9b12",
"_createdAt": "2024-01-01T00:00:00.000Z",
"_updatedAt": "2024-01-01T00:00:00.000Z",
"_reference": "string"
}