Sitecore OrderCloud Documentation

docs

Portal Login

Update a credit card.

PUT

/me/creditcards/{creditcardID}

200

Description

Only available to Buyer Users.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessMeCreditCardAdmin

Parameters

NameTypeDescriptionPossible Values
creditcardIDRequiredstringID of the creditcard.---

Request Body

PropertyTypeFormatMax LengthPossible Values
Tokenstring---100 characters---

CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDRead Onlystring---100 characters---
EditableRead Onlyboolean---------
Tokenstring---100 characters---

DateCreatedRead Onlystringdate-time------
CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------

Update a credit card.

PUT

/me/creditcards/{creditcardID}

200

Description

Only available to Buyer Users.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessMeCreditCardAdmin

Parameters

NameTypeDescriptionPossible Values
creditcardIDRequiredstringID of the creditcard.---

Request Body

PropertyTypeFormatMax LengthPossible Values
Tokenstring---100 characters---

CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDRead Onlystring---100 characters---
EditableRead Onlyboolean---------
Tokenstring---100 characters---

DateCreatedRead Onlystringdate-time------
CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore