Sitecore OrderCloud Documentation

docs

Portal login

Create a new spending account.

POST

/buyers/{buyerID}/spendingaccounts

201

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

Roles

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

FullAccessSpendingAccountAdmin

Parameters

NameTypeDescriptionPossible Values
buyerIDRequiredstringID of the buyer.---

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