24/7 Support: 800.608.6482

Navigation


Branch_Create

Requirements: Miva verion 10.00.00 or later.
This function allows you to create a new branch

Request Body Parameters

Parent_Branch_ID Type:
Number
Title:
Parent Branch ID
This is the ID of the Branch you want to copy from. You can load all branches using BranchList_Load_Query to get the correct branch id
Name Type:
String
Title:
Branch Name
Name of Branch
Color Type:
String
Title:
Branch Chip Color
Hex value of the color chip associated with the branch, including #. Cannot be blank. Default color is #20c171

Response Parameters

id Type:
Number
Title:
Id
Id of newely created Branch
immutable Type:
Boolean
Title:
Immutable
Boolean flag for immutable. Every store has a branch with cannot be deleted and is immutable.
branchkey Type:
String
Title:
Branch Key
Unique identifier for the branch. Used to generate preview link
name Type:
String
Title:
Branch Name
Name of Branch
color Type:
String
Title:
Branch Chip Color
Hex Value for Branch Color Chip. Used as a visual identifier in the Miva admin.
preview_url Type:
String
Title:
Preview URL
Preview URL for this specific Branch

Example Request

Example Response

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.