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

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