Membership Cards

PATCH

Update Membership Card

Update an existing membership card.

Required Permission: Edit Membership Card
PATCH /membership-cards/{id}

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
name String Required string, required, max:255, unique (except current) The name of the membership card
discount_percentage Decimal Optional numeric, optional, min:0, max:100 The discount percentage (e.g. 10.00)
membership_fee Decimal Optional numeric, optional, min:0 The membership card fee (e.g. 100.00)
points_redemption_ratio Decimal Optional numeric, optional, min:0 The points redemption ratio (e.g. 1.50)
status Integer Optional integer, optional, in:0,1 Status (0 for Inactive, 1 for Active)

Response

200 OK
Status Code
HTTP status code (200)
Message
Human-readable description
Data
Updated membership card details