Skip to main content

Partially change an entity by id

Updates the Payment resource.

Authorizations:Token, JWT
Query Parameters
id
required
string
cart_id
required
string36 charactersCart ID
Request Body Schema:
The updated Payment resource
cartIdstring or null
actionstring or null
actionDataArray of objects or null
Array
namestring
valuestring
actionMetaDataArray of objects or null
Array
namestring
valuestring

Responses

200Payment resource updated
Response schema:
Payment resource updated
idstring or null
cartIdstring or null
statusstring or null
valuenumber or null
typestring or null
dataArray of objects or null
Array
namestring
valuestring
backendTransactionsArray of objects or null
Array
statusstring
valuenumber
typestring
dataArray of objects
Array
namestring
valuestring
processorstring or null
actionDataArray of objects or null
Array
namestring
valuestring
actionMetaDataArray of objects or null
Array
namestring
valuestring
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
404Resource not found
Response schema:
Resource not found
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null