Skip to main content
POST
/
api
/
public
/
v1
/
stores
/
create
Create store
curl --request POST \
  --url http://app.localhost:3000/api/public/v1/stores/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "presentmentCurrencies": "<string>",
  "chargeCurrencies": "<string>",
  "baseCurrency": "<string>",
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "type": "<string>",
  "accountId": "<string>",
  "credentials": "<string>",
  "selectedPaymentFlowId": "<string>",
  "syncLocale": "<string>",
  "paypalSubscriptionEnabled": true,
  "multipleSubscriptionsPerCustomerEnabled": true,
  "flaggedForDeletionAt": "2023-11-07T05:31:56Z",
  "lastTimeFlaggedForDeletionAt": "2023-11-07T05:31:56Z",
  "experimentalFeatures": "<string>",
  "customThankYouUrl": "<string>",
  "rebillSettings": "<string>",
  "creditSettings": "<string>",
  "config": "<string>",
  "createDemoProducts": true
}
'
{
  "message": "<string>",
  "code": "<string>",
  "issues": [
    {
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
presentmentCurrencies
required
chargeCurrencies
required
baseCurrency
string
required
id
string
createdAt
string<date-time> | null
updatedAt
string<date-time> | null
type
string
accountId
string | null
credentials
selectedPaymentFlowId
string | null
syncLocale
string | null
paypalSubscriptionEnabled
boolean | null
multipleSubscriptionsPerCustomerEnabled
boolean | null
flaggedForDeletionAt
string<date-time> | null
lastTimeFlaggedForDeletionAt
string<date-time> | null
experimentalFeatures
customThankYouUrl
string | null
rebillSettings
creditSettings
config
createDemoProducts
boolean

Response

Successful response