24/7 Support: 800.608.6482

Navigation


AvailabilityGroup_Insert

This function inserts a new availability group.

Request Parameters

store_code Type:
String
Title:
Store Code
Store code to run the function against. Found in the Miva Admin under Settings > Store Details
function Type:
String
Title:
Availability Group Insert
The name of the function being executed
availabilitygroup_name Type:
String
Title:
Availability Group Name
The name of availability group
availabilitygroup_tax_exempt Type:
Boolean
Title:
Availability Group Tax Exempt
Boolean value indicating if the new availability group is tax exempt

Response Parameters

success Type:
Boolean
Title:
Status Response
Boolean value indicating if the api request was successful

Example Request

Example Response

Error Responses

error code:
MER-JSN-00018
error message:
Invalid value for field 'AvailabilityGroup_Name'
description:
Availability group name already exists

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.