24/7 Support: 800.608.6482

Get Started

Navigation


CouponPriceGroup_Update_Assigned

This function allows you to assign or unassign a coupon to a price group.

Request Body Parameters

Coupon_Code Type:
String
Title:
Coupon Code
Coupon Code
Coupon_Id Type:
Number
Title:
Coupon Id
Coupon Id
PriceGroup_Name Type:
String
Title:
Price Group Name
Price Group Name
PriceGroup_ID Type:
Number
Title:
Price Group Id
Price Group Id
Assigned Type:
Boolean
Title:
Assigned
true = assign, false = unassign

Response Parameters

success boolean value for if the request was successfull

Example Request

Example Response

Error Responses

error code
MER-PGR-JSN-00104
error message
Coupon not found
  Coupon not found
error code
MER-PGR-JSN-00102
error message
Unable to load price group: One of PriceGroup_ID, Edit_PriceGroup or PriceGroup_Name must be specified
  description
Price Group does not exist

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 – 2019 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.