24/7 Support: 800.608.6482

Navigation


CouponCustomer_Update_Assigned

This function updates an customer coupon assignment.

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:
Coupon Customer Update Assigned
The name of the function being executed
coupon_id Type:
Number
Title:
Coupon ID
The coupon id number to be assigned
customer_id Type:
Number
Title:
Customer ID
The customer id receiving the coupon assignment
assigned Type:
Boolean
Title:
assigned
Boolean value indicating if the coupon should be assigned to the customer

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-CUS-JSN-00001
error message:
Customer not found
description:
Customer not found

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.