Sitecore OrderCloud Documentation

docs

Portal login

Create or update a spending account.

PUT

/buyers/{buyerID}/spendingaccounts/{spendingAccountID}

200

Description

If an object with the same ID already exists, it will be overwritten.

Roles

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

FullAccessSpendingAccountAdmin

Parameters

NameTypeDescriptionPossible Values
buyerIDRequiredstringID of the buyer.---
spendingAccountIDRequiredstringID of the spending account.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
NameRequiredstring---100 characters---
BalanceRequirednumberfloat------
AllowAsPaymentMethodboolean---------

StartDatestringdate-time------
EndDatestringdate-time------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Namestring---100 characters---
Balancenumberfloat------
AllowAsPaymentMethodboolean---------

StartDatestringdate-time------
EndDatestringdate-time------
xpobject---------
Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore