Skip to content

Provision_Domain#

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

Request Body Parameters#

Parameter
Type Description
xml String Specific domain 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_Domain",
    "xml": "<miva_merchant password='password'><User_Add>Yes</User_Add></miva_merchant>"
}

Example Response#

{
    "success": 1,
    "data": [
        {
            "dtstamp": "10/01/2018 14:16:15",
            "lineno": 1,
            "tag": "User_Add",
            "message": "Please enter a password that contains at least one letter and one number or punctuation character"
        }
    ]
}