api/v1/customer/{id}/share-gift

POST

/api/v1/customer/{id}/share-gift

Generate a sharing URL for a specific customer, with a certain amount of points. The {id} in the URL relates to the customer we are sharing with.

We must also specify which store we are sharing the points under.

Request Parameters

Parameter

Value / Type

Required

store_id

STRING

true

gift_pts

INTEGER

true

Sample Response

{
    "status": true,
    "link": "http://loyalnsave.com/share-gift-points?token=8b771fcaf2efcc3f103045a28fae8b9dfac47b2f186370c19c8d64da34a749b227ed80a66466fd737392859fd17490a8f08fbdd70bca929223e20ed5f4af9ad1"
}