Skip to content

Provision_Store#


Description#

This function is used to run XML Provisioning tags via the JSON API. This function allows you to execute store level tags. Your API token must pass the HMAC signature as well as the timestamp in order to have permissions to use this function.

Note

This functions needs explicit permissions to the API token. When in the Miva admin select the API token and the functions button. When the modal appears add “Provision_Store” as the function name and choose the store within the dropdown.

Request Body Parameters#

Parameter
Type Description
xml String Specific store level XML tag to execute.

Response Parameters#

Name Description
success boolean value for if the request was successful
data Object containing response from XML function being executed

Example Request#

{
    "Store_code": "beta",
    "Function": "Provision_Store",
    "xml": "500"
}

Example Response#

{
    "success": 1,
    "data": []
}