Updating a Billing Group

Using the PUT method, you can update the settings for an existing Billing Group.

PUT https://edgeapi.marchex.io/marketingedge/v5/api/billinggroups/{billing_group_id}

The following sample request can be used to update a Billing Group:

curl -H "x-organization-token: {authorization_token}" \
 			-H "subscription-key: {subscription_key}" \
     	-X PUT \
     	"https://edgeapi.marchex.io/marketingedge/v5/api/billinggroups/11623258" \
     	-d ' { 
     		"billing_group_name": "ABC Company", 
     		"status":"inactive" 
 			}'

If the request is handled successfully, the following response will be returned:

{
  "billing_group_id": 11623258,
  "billing_group_name": "ABC Company",
  "status": "inactive"
}