OCAPI snippet
In order to let MOMENTVM access
To access SFCC configure the following ressources:
{
"_v": "19.5",
"clients": [
{
"allowed_origins": ["http://dw-sdk.com", "https://app.momentvm.com", "https://release.momentvm.com"],
"client_id": "aaaaaaaaaaaaaaa-aaaaaaaaa-aaaaaaaaaa",
"resources": [
{
"resource_id": "/sites/{site_id}/slots/{slot_id}/slot_configurations/{configuration_id}",
"methods": ["put", "get", "patch"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/sites",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/sites/{site_id}/locale_info/locales",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/sites/{site_id}/slot_configuration_search",
"methods": ["post"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/product_search",
"methods": ["post"],
"read_attributes": "(**)",
"write_attributes": "(**)",
"cache_time": 900,
"version_range": { "from": "18.8" }
},
{
"resource_id": "/products/{id}/variations",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/site_search",
"methods": ["post"],
"read_attributes": "(**)",
"write_attributes": "(**)",
"cache_time": 900,
"version_range": { "from": "18.8" }
},
{
"resource_id": "/catalogs/{catalog_id}/categories/{category_id}",
"methods": ["get", "patch"],
"read_attributes": "(**)",
"write_attributes": "(c_velocityAssetID)"
},
{
"resource_id": "/products/{id}",
"methods": ["get", "patch"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/content/{content_id}",
"methods": ["get", "put", "delete", "patch"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/folders/{folder_id}/content",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/folders/{folder_id}/sub_folders",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/folders/{folder_id}",
"methods": ["get", "put", "delete", "patch"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/content/{content_id}/folders",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/libraries/{library_id}/folder_assignments/{content_id}/{folder_id}",
"methods": ["put", "get", "delete"],
"read_attributes": "(**)",
"write_attributes": "(**)"
}
]
}
]
}
Last updated June 21, 2022
MOMENTVM Documentation
This is the official documentation for MOMENTVM Content Cloud for Salesforce Commerce Cloud.