Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/store/config
{
"message": "<string>",
"success": true,
"content": {
"store_config": {
"is_kyc_enabled": false,
"is_customer_group_enabled": false,
"brand": {
"name": "<string>",
"logo_url": "<string>",
"social_media_links": {}
},
"currency": {
"name": "Indian Rupee",
"code": "INR",
"symbol": "βΉ"
},
"customer_groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"is_default": true,
"active": true
}
],
"kyc_documents": [
{
"id": "<string>",
"document_type": "gst",
"title": "<string>",
"description": "<string>",
"active": true,
"is_mandatory": true,
"is_attachment_required": true,
"verification_type": "auto"
}
],
"measurement": {
"weight": "gm",
"dimension": "cm"
},
"terms_of_service": {
"id": "<string>",
"name": "<string>",
"content_title": "<string>",
"content_type": "html",
"content": "<string>"
},
"refund_policy": {
"id": "<string>",
"name": "<string>",
"content_title": "<string>",
"content_type": "html",
"content": "<string>"
}
}
}
}
Retrieve store config detail
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/store/config
{
"message": "<string>",
"success": true,
"content": {
"store_config": {
"is_kyc_enabled": false,
"is_customer_group_enabled": false,
"brand": {
"name": "<string>",
"logo_url": "<string>",
"social_media_links": {}
},
"currency": {
"name": "Indian Rupee",
"code": "INR",
"symbol": "βΉ"
},
"customer_groups": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"is_default": true,
"active": true
}
],
"kyc_documents": [
{
"id": "<string>",
"document_type": "gst",
"title": "<string>",
"description": "<string>",
"active": true,
"is_mandatory": true,
"is_attachment_required": true,
"verification_type": "auto"
}
],
"measurement": {
"weight": "gm",
"dimension": "cm"
},
"terms_of_service": {
"id": "<string>",
"name": "<string>",
"content_title": "<string>",
"content_type": "html",
"content": "<string>"
},
"refund_policy": {
"id": "<string>",
"name": "<string>",
"content_title": "<string>",
"content_type": "html",
"content": "<string>"
}
}
}
}
OK
The response is of type object
.