Skip to content

AvailabilityGroup_Update#


Description#

This function updates an availability group.

Request Parameters#

Parameter
Type Description
AvailabilityGroup_ID
Edit_AvailabilityGroup
Number
String
Availability Group ID
Availability Group Name
availabilitygroup_tax_exempt Boolean Boolean value indicating if the new availability group is tax exempt

Response Parameters#

Parameter
Type Description
success Number 1 indicating a successful request.
0 indicating an unsuccessful request.

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "AvailabilityGroup_Update",
    "AvailabilityGroup_ID": 2,
    "AvailabilityGroup_Name": "Availability Group B",
    "AvailabilityGroup_Tax_Exempt": 0
}

Example Response#

{
    "success": 1
}