POST:customer_balance/apply_gift_card.json
Commerce APIPOST:customer_balance/apply_gift_card.json

POST:customer_balance/apply_gift_card.json

Description

Transfer amount of money gift card represents to a customer balance. On customer auth "customer_id" is not required and forced to be the id of the customer.

Permission bit: "customer_balance.write"

Topic: Customer Balance

Query Parameters

customer_id: String, required

Unique customer identifier. See also: Unique Identifiers

Example: ?customer_id=cu_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

ApplyGiftCard

{
  "gift_card_code": "H35K-DJKS-75TK-TJR4"
}