curl --request PUT \
--url https://api.komerza.com/stores/{storeId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"prependProductNameToReceipt": true,
"currencyCode": "<string>",
"isAutomaticReviewsEnabled": true
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"url": "\n store\n ",
"urlHistory": [
"<string>"
],
"domain": "<string>",
"lastCustomDomainUpdate": "2023-11-07T05:31:56Z",
"products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cost": 50000,
"deliveryTypes": [
"<string>"
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"friendlyName": "<string>",
"ipAddress": "<string>",
"userId": "<string>"
}
],
"minimumQuantity": 123,
"maximumQuantity": 123,
"order": 123,
"imageNames": [
"<string>"
],
"stock": 123,
"stockMode": 0,
"customFields": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"identifier": "<string>",
"type": "<string>",
"isRequired": true,
"options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"customFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"value": "<string>",
"order": 1073741823
}
],
"placeholder": "<string>",
"hint": "<string>"
}
],
"dynamicUrl": "<string>",
"deliveryMessage": "<string>",
"metadata": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"visibility": 0,
"imageNames": [
"<string>"
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"shouldBlockVpns": true,
"order": 123,
"isBestSeller": true,
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {},
"slug": "<string>",
"metadata": "<string>"
}
],
"categories": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"visibility": 0,
"order": 123,
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<unknown>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cost": 50000,
"deliveryTypes": [
"<string>"
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"friendlyName": "<string>",
"ipAddress": "<string>",
"userId": "<string>"
}
],
"minimumQuantity": 123,
"maximumQuantity": 123,
"order": 123,
"imageNames": [
"<string>"
],
"stock": 123,
"stockMode": 0,
"customFields": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"identifier": "<string>",
"type": "<string>",
"isRequired": true,
"options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"customFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"value": "<string>",
"order": 1073741823
}
],
"placeholder": "<string>",
"hint": "<string>"
}
],
"dynamicUrl": "<string>",
"deliveryMessage": "<string>",
"metadata": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"visibility": 0,
"imageNames": [
"<string>"
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"shouldBlockVpns": true,
"order": 123,
"isBestSeller": true,
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {},
"slug": "<string>",
"metadata": "<string>"
},
"order": 123
}
],
"slug": "<string>"
}
],
"userId": "<string>",
"coupons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"code": "<string>",
"uses": 123,
"maximumUses": 50000000,
"isEnabled": true,
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"percentageDecrease": 50,
"amountDecrease": 50000,
"variantIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"expirationDate": "2023-11-07T05:31:56Z"
}
],
"webhookSecret": "<string>",
"currencyCode": "<string>",
"prependProductNameToReceipt": true,
"isAutomaticReviewsEnabled": true,
"isCustomerBalanceEnabled": true,
"isInactive": true,
"builderRepository": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "<string>",
"completionTokens": 123,
"promptTokens": 123,
"totalTokens": 123,
"externalId": "<string>",
"annotations": "<string>",
"content": "<string>",
"revisionId": "<string>",
"ipAddress": "<string>"
}
],
"websites": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileData": "aSDinaTvuI8gbWludGxpZnk=",
"fileDataHash": "<string>",
"compressedSize": 123,
"size": 123
}
],
"userId": "<string>",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monthlyTokens": 123,
"consumedAllTokens": true,
"usage": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-12-25",
"platformTotalTokens": 123,
"totalTokens": 123,
"inputTokens": 123,
"outputTokens": 123,
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repository": "<unknown>"
}
],
"machines": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"isTerminated": true,
"source": "<string>",
"sourceId": "<string>",
"name": "<string>",
"privateIpAddress": "<string>",
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"source": "<string>",
"type": "<string>",
"message": "<string>",
"machineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>"
}
],
"urlId": "<string>",
"externalId": "<string>",
"description": "<string>",
"currentWebsiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currentWebsite": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileData": "aSDinaTvuI8gbWludGxpZnk=",
"fileDataHash": "<string>",
"compressedSize": 123,
"size": 123
},
"snapshot": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"size": 123,
"chatIndex": "<string>",
"files": {},
"summary": "<string>"
},
"consumedAt": "2023-11-07T05:31:56Z"
},
"customDomain": "<string>",
"affiliateOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"isEnabled": true,
"defaultReturnPercentage": 123,
"isPublicRegistrationEnabled": true,
"isLinkEditingEnabled": true,
"canConvertAffiliateBalance": true,
"defaultPercentageOff": 123
},
"storeBrandOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isAutomaticCurrencyConversionEnabled": true,
"bannerFileName": "<string>",
"iconFileName": "<string>",
"accentColor": "<string>"
},
"notificationOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"discordWebhookUrl": "<string>"
},
"maintenanceReason": "<string>"
}
}Replaces the specified store’s data with the information in the form.
Requires the stores.update permission.
curl --request PUT \
--url https://api.komerza.com/stores/{storeId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"prependProductNameToReceipt": true,
"currencyCode": "<string>",
"isAutomaticReviewsEnabled": true
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"url": "\n store\n ",
"urlHistory": [
"<string>"
],
"domain": "<string>",
"lastCustomDomainUpdate": "2023-11-07T05:31:56Z",
"products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cost": 50000,
"deliveryTypes": [
"<string>"
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"friendlyName": "<string>",
"ipAddress": "<string>",
"userId": "<string>"
}
],
"minimumQuantity": 123,
"maximumQuantity": 123,
"order": 123,
"imageNames": [
"<string>"
],
"stock": 123,
"stockMode": 0,
"customFields": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"identifier": "<string>",
"type": "<string>",
"isRequired": true,
"options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"customFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"value": "<string>",
"order": 1073741823
}
],
"placeholder": "<string>",
"hint": "<string>"
}
],
"dynamicUrl": "<string>",
"deliveryMessage": "<string>",
"metadata": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"visibility": 0,
"imageNames": [
"<string>"
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"shouldBlockVpns": true,
"order": 123,
"isBestSeller": true,
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {},
"slug": "<string>",
"metadata": "<string>"
}
],
"categories": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"visibility": 0,
"order": 123,
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<unknown>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cost": 50000,
"deliveryTypes": [
"<string>"
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"friendlyName": "<string>",
"ipAddress": "<string>",
"userId": "<string>"
}
],
"minimumQuantity": 123,
"maximumQuantity": 123,
"order": 123,
"imageNames": [
"<string>"
],
"stock": 123,
"stockMode": 0,
"customFields": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"variantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"identifier": "<string>",
"type": "<string>",
"isRequired": true,
"options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"customFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"value": "<string>",
"order": 1073741823
}
],
"placeholder": "<string>",
"hint": "<string>"
}
],
"dynamicUrl": "<string>",
"deliveryMessage": "<string>",
"metadata": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"visibility": 0,
"imageNames": [
"<string>"
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>",
"shouldBlockVpns": true,
"order": 123,
"isBestSeller": true,
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {},
"slug": "<string>",
"metadata": "<string>"
},
"order": 123
}
],
"slug": "<string>"
}
],
"userId": "<string>",
"coupons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"code": "<string>",
"uses": 123,
"maximumUses": 50000000,
"isEnabled": true,
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"percentageDecrease": 50,
"amountDecrease": 50000,
"variantIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"expirationDate": "2023-11-07T05:31:56Z"
}
],
"webhookSecret": "<string>",
"currencyCode": "<string>",
"prependProductNameToReceipt": true,
"isAutomaticReviewsEnabled": true,
"isCustomerBalanceEnabled": true,
"isInactive": true,
"builderRepository": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"role": "<string>",
"completionTokens": 123,
"promptTokens": 123,
"totalTokens": 123,
"externalId": "<string>",
"annotations": "<string>",
"content": "<string>",
"revisionId": "<string>",
"ipAddress": "<string>"
}
],
"websites": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileData": "aSDinaTvuI8gbWludGxpZnk=",
"fileDataHash": "<string>",
"compressedSize": 123,
"size": 123
}
],
"userId": "<string>",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"monthlyTokens": 123,
"consumedAllTokens": true,
"usage": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-12-25",
"platformTotalTokens": 123,
"totalTokens": 123,
"inputTokens": 123,
"outputTokens": 123,
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repository": "<unknown>"
}
],
"machines": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"isTerminated": true,
"source": "<string>",
"sourceId": "<string>",
"name": "<string>",
"privateIpAddress": "<string>",
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"source": "<string>",
"type": "<string>",
"message": "<string>",
"machineId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "<string>"
}
],
"urlId": "<string>",
"externalId": "<string>",
"description": "<string>",
"currentWebsiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currentWebsite": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fileData": "aSDinaTvuI8gbWludGxpZnk=",
"fileDataHash": "<string>",
"compressedSize": 123,
"size": 123
},
"snapshot": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"repositoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"size": 123,
"chatIndex": "<string>",
"files": {},
"summary": "<string>"
},
"consumedAt": "2023-11-07T05:31:56Z"
},
"customDomain": "<string>",
"affiliateOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"isEnabled": true,
"defaultReturnPercentage": 123,
"isPublicRegistrationEnabled": true,
"isLinkEditingEnabled": true,
"canConvertAffiliateBalance": true,
"defaultPercentageOff": 123
},
"storeBrandOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"storeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isAutomaticCurrencyConversionEnabled": true,
"bannerFileName": "<string>",
"iconFileName": "<string>",
"accentColor": "<string>"
},
"notificationOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"discordWebhookUrl": "<string>"
},
"maintenanceReason": "<string>"
}
}Your API key goes here
The ID of the store to update.
The form containing the new data to update the store with.
Form for updating or creating a store. This version is returned for authenticated API endpoints, any public endpoint will use a PublicStore or PublicStoreReference
The name of the store as shown on the users store page
3 - 32The store description, shown on the store home page underneath the title
4096Whether the name of the product should be prepended to the start of delivery receipts to customers
The ISO-compliant fiat currency code that is preferred for the store, defaults to USD
Whether automatic review leaving is enabled
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents a storefront that contains products that will be sold under it's name
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The name of the store
3 - 64The description of the store, shown on their about page and on the home of their store page
4096The subdomain for the store, ONLY the subdomain, not the fully qualified domain
3 - 64"\n store\n "
The history of URLs this store has had
The domain this store is running on, defaults to mykomerza.com
1 - 72The last time the custom domain for this store was updated
The list of products sold by the store
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Collection of product variants linked to the product, allowing multiple versions or options for the product.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The name of the variant.
3 - 128Represents the unique identifier of the product associated with the variant.
The unique identifier for the store associated with the variant.
The cost of the variant.
0 <= x <= 100000A list of delivery methods associated with the variant.
A collection of stored files associated with this variant.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The friendly name of the file
1 - 128The IP address which uploaded the file
1 - 45The ID of the user who uploaded the file
1 - 36The minimum quantity of the product variant required for a single order.
The maximum quantity of the variant that can be purchased in a single order. A value of -1 indicates no limit.
Indicates the display order of the variant in a sequence.
A list of image file names associated with the variant.
Represents the quantity of items available for sale.
The stock calculation modes that are used
0, 1, 2 Represents the collection of custom fields associated with the variant. Each custom field provides additional configuration or metadata related to the variant, such as labels, identifiers, or placeholders.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
FK back to the parent Variant.
The display label for this custom field.
1 - 128A machine-friendly identifier used in forms and storage.
1 - 64The type of the field: "text", "textarea", "select", "checkbox", "radio", or "number".
1 - 256Whether filling out this field is mandatory.
The list of allowed options (only for select or radio fields).
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
FK back to the parent CustomField.
The user-facing label for this option.
128The stored value for this option (often same as Label).
64Sort order among siblings.
0 <= x <= 2147483647Placeholder text shown when the field is empty (for text/textarea).
256Help text displayed under the field.
512Represents a dynamically generated or configurable URL associated with a variant.
2048An optional message associated with the delivery of this variant.
4096Miscellaneous metadata associated with the variant, this is used in migration to tie reviews/products
1000The name of the product. This field is required and must be between 3 and 128 characters in length.
3 - 128A detailed description of the product, used to provide additional information or context about the product.
1 - 16384List of product visibility (or privacy) levels
0, 1, 2 Represents a list of image file names associated with the product. This collection is used to manage the images linked to the product and can be manipulated to reorder or delete images.
The identifier of the store to which the product belongs.
Represents the identifier of the user associated with the product.
1 - 36Determines whether VPN usage should be restricted for this product. If set to true, VPN-based access may be blocked to mitigate potential fraud or compliance issues.
Indicates the display order of the product within its associated store. By default, products are assigned an order value of 1. This property is primarily used to allow custom sorting of products, enabling businesses to prioritize or organize products as needed.
Indicates whether the product is marked as a bestseller.
The list of payment gateways that are blacklisted and should not be used for processing payments for this product.
A unique identifier for the product, used to generate user-friendly URLs.
1 - 72Custom metadata set by either the user or the system to store additional information about the product
10000The list of categories for organizing products in the store
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The name of this category
3 - 128List of product visibility (or privacy) levels
0, 1, 2 The ordering index of this category
The store ID that this category belongs to
The list of products that belong to this category
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The ID of the category that the product belongs to
The ID of the product that belongs to the category
Represents a product that belongs to a specific store and contains details such as name, description, visibility, and associated information.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Collection of product variants linked to the product, allowing multiple versions or options for the product.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The name of the variant.
3 - 128Represents the unique identifier of the product associated with the variant.
The unique identifier for the store associated with the variant.
The cost of the variant.
0 <= x <= 100000A list of delivery methods associated with the variant.
A collection of stored files associated with this variant.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The friendly name of the file
1 - 128The IP address which uploaded the file
1 - 45The ID of the user who uploaded the file
1 - 36The minimum quantity of the product variant required for a single order.
The maximum quantity of the variant that can be purchased in a single order. A value of -1 indicates no limit.
Indicates the display order of the variant in a sequence.
A list of image file names associated with the variant.
Represents the quantity of items available for sale.
The stock calculation modes that are used
0, 1, 2 Represents the collection of custom fields associated with the variant. Each custom field provides additional configuration or metadata related to the variant, such as labels, identifiers, or placeholders.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
FK back to the parent Variant.
The display label for this custom field.
1 - 128A machine-friendly identifier used in forms and storage.
1 - 64The type of the field: "text", "textarea", "select", "checkbox", "radio", or "number".
1 - 256Whether filling out this field is mandatory.
The list of allowed options (only for select or radio fields).
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
FK back to the parent CustomField.
The user-facing label for this option.
128The stored value for this option (often same as Label).
64Sort order among siblings.
0 <= x <= 2147483647Placeholder text shown when the field is empty (for text/textarea).
256Help text displayed under the field.
512Represents a dynamically generated or configurable URL associated with a variant.
2048An optional message associated with the delivery of this variant.
4096Miscellaneous metadata associated with the variant, this is used in migration to tie reviews/products
1000The name of the product. This field is required and must be between 3 and 128 characters in length.
3 - 128A detailed description of the product, used to provide additional information or context about the product.
1 - 16384List of product visibility (or privacy) levels
0, 1, 2 Represents a list of image file names associated with the product. This collection is used to manage the images linked to the product and can be manipulated to reorder or delete images.
The identifier of the store to which the product belongs.
Represents the identifier of the user associated with the product.
1 - 36Determines whether VPN usage should be restricted for this product. If set to true, VPN-based access may be blocked to mitigate potential fraud or compliance issues.
Indicates the display order of the product within its associated store. By default, products are assigned an order value of 1. This property is primarily used to allow custom sorting of products, enabling businesses to prioritize or organize products as needed.
Indicates whether the product is marked as a bestseller.
The list of payment gateways that are blacklisted and should not be used for processing payments for this product.
A collection of additional fees associated with specific payment methods for the product. The key represents the payment method, and the value represents the fee percentage as a string.
Show child attributes
A unique identifier for the product, used to generate user-friendly URLs.
1 - 72Custom metadata set by either the user or the system to store additional information about the product
10000The order index of the product within the category
The slug of this category
1 - 72The ID of the user who owns the store
1 - 36The list of coupon codes that can be used on the store
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The case-insensitive code the customer will enter to redeem the coupon (this should be lowercased)
3 - 32The amount of times the coupon code has been used
The maximum amount of usages the coupon code has, -1 = infinite
0 <= x <= 100000000Whether the coupon code is enabled and can be used in checkout
The ID of the store the coupon belongs to
The percentage that should be subtracted from the total order cost when used
0 <= x <= 100The static amount to be subtracted from the total order cost when used
0 <= x <= 100000The list of variant IDs that the coupon is enabled for, null if it is global
The date and time when the coupon will expire and can no longer be used
The webhook signing secret used to verify webhook payloads
128The preferred fiat currency to display for the store, defaults to USD
4Whether the name of the product should be prepended to the start of delivery receipts to customers
Whether automatic review leaving is enabled
Whether the customer balance system is enabled on the stores
Whether the system has detected that the store is inactive
Represents a repository that stores metadata and configuration data related to the frontend architecture and build processes for a specific store. Provides references to associated worker identities, user ownership, and messaging or snapshot relationships.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
A collection of messages associated with the builder repository.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Represents the unique identifier of the parent repository that this message is associated with.
Specifies the role associated with the message, typically indicating the sender's role, such as user or system.
1 - 64Represents the number of tokens generated by the AI in the response during message completion processing.
Represents the number of tokens used in the input prompt for a message.
Represents the total number of tokens associated with a message or group of messages, often used to track resource usage or capacity in the context of processing textual content.
Represents an optional unique identifier for external systems or integrations.
256A JSON-encoded string representation of additional metadata or usage annotations associated with the message. This may include context-specific data or processing directives.
32000Represents the text content of a message sent from the builder client. May contain extended information or data relevant to the message. Maximum length is 512,000 characters.
512000Identifies the version or revision of the message content.
256Represents the IP address associated with the builder message source.
128The list of websites associated with the user, max 10
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The ID of the repository the website belongs to
The GZip compressed file data of the website
The hash of the file data, used to prevent duplicate websites from being added to the repository
128The size of the website in bytes when compressed
The size of the website in bytes when not compressed
The unique identifier associated with the user who owns or is related to this repository.
1 - 36Unique identifier of the store associated with the builder repository.
Represents the total number of PLATFORM tokens used for a store in the current month.
Whether the user has consumed all tokens for the current month.
The fine-grained usage of the builder for the store, this is based on each month
Show child attributes
The unique identifier of the entity
Gets or sets the date when the entity was created.
Represents the total number of tokens utilized across the platform.
Represents the total combined number of tokens used.
Represents the number of input tokens consumed by the builder.
Represents the total number of tokens generated as output.
Represents the unique identifier for the associated repository. Serves as a foreign key linking to the BuilderRepository entity.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Indicates whether the machine has been terminated.
The source code or identifier for this preview machine.
1 - 128The identifier of the source for this preview machine.
1 - 128Name of the builder preview machine.
1 - 128IP address of the builder preview machine.
1 - 45Collection of events for this machine.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
User code of the source that triggered the builder preview event.
128Type of event generated by the builder preview.
128Message associated with the event.
5000Unique identifier for the machine that generated this event.
Identifier of the store that owns this preview machine.
Repository identifier for the preview machine.
The identifier of the user who owns or operates this machine.
1 - 48Represents an optional, URL-friendly identifier used for deep-linking and reference purposes.
128Optional external identifier that can be used for integrations or mapping with external systems.
128A brief description of the repository or its purpose.
128The ID of the current website that is active
Represents a website entity in the builder module with associated repository.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The ID of the repository the website belongs to
The GZip compressed file data of the website
The hash of the file data, used to prevent duplicate websites from being added to the repository
128The size of the website in bytes when compressed
The size of the website in bytes when not compressed
Represents a snapshot of a builder entity within the project's context.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Represents the unique identifier of the associated repository for the builder snapshot.
The size of the builder snapshot in bytes, calculated based on the cumulative size of its contents.
Represents the unique index or identifier for organizing and retrieving chat-related data.
1 - 128A collection of files associated with the builder snapshot, represented as a dictionary where the key is the file identifier and the value is the corresponding file data.
Show child attributes
Represents a file that is part of a builder snapshot, containing metadata such as its type, content, and state (locked or binary).
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The type of the file included in the builder snapshot.
1 - 16Indicates whether the file is locked, preventing modifications.
Indicates whether the file content is binary.
The content of the file that has been snapshotted. It represents the data of the file as a string and can be used to store text or other forms of serialized file content.
512000Indicates if the file is locked specifically by its association with a folder.
128A textual overview or description associated with the builder snapshot
15000Indicates the date and time when all usage tokens were consumed.
The custom domain set for the store, will be null if not set. Use the Cloudflare API to fetch extended data on their custom domain integration
128Represents the options available for affiliates on stores.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Gets or sets a value indicating whether the affiliate options are enabled for a store.
Gets or sets the default percentage of returns that an affiliate can receive. This percentage is used to calculate the return share for affiliates.
Gets or sets a value indicating whether public registration for affiliates is enabled.
Whether affiliates can edit their own affiliate link
Whether the store allows affiliate balance to be converted into customer balance to be used on the store, when enabled any affiliate can convert their affiliate balance into customer balance automatically
Gets or sets the default percentage off value for affiliates.
Represents the options for configuring the branding within a store.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Unique identifier for the store associated with the checkout options.
Indicates whether automatic currency conversion is enabled, this is strictly for displaying on the checkout which improves conversion
Represents the file name of the banner associated with the checkout options.
64The icon file name, used for favicon
64Represents the accent color used in the checkout options.
9The notification options for a store
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The Discord webhook notification URL to send events to
512The reason the store is in maintenance, if this is null then the store is not in maintenance mode
1024Was this page helpful?