Set the primary member payment card for the currently authenticated memberDeprecated

Licenses Required

  • Vista.Ocapi
Request
header Parameters
loyaltySessionToken
string

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Code
string

Region Code

Request Body schema:
required

The values needed to update the member's primary member payment card

memberPaymentCardId
required
string non-empty

Gets the unique identifier of the member payment card

Responses
204

Member primary payment card updated.

400

Member payment card does not exist.

401

No member authenticated.

put/ocapi/v1/members/current/payment-cards/primary
Request samples
{
  • "memberPaymentCardId": "string"
}