Skip to main content
POST
/
commerce
/
customer
/
credits
/
{code}
/
transactions
Error
A valid request URL is required to generate request examples
{
  "id": 123,
  "transactionType": "<string>",
  "comments": "<string>",
  "impactAmount": 123,
  "auditInfo": {
    "updateDate": "2023-11-07T05:31:56Z",
    "createDate": "2023-11-07T05:31:56Z",
    "updateBy": "<string>",
    "createBy": "<string>"
  },
  "orderId": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

code
string
required

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

Credit Transactions are used to make adjustments to a Credit Balance

id
integer<int32> | null

Id unique within the tenant ReadOnly

transactionType
string | null

Mozu.Customer.Contracts.Credit.CreditTransaction.CreditTransactionType Requried

comments
string | null

Comments about the transaction. Depending on the user interface, these comments may be readable by authorized users or customers.

impactAmount
number<double> | null

Amount to apply to Credit Balance Required

auditInfo
object
orderId
string | null
data
any | null

Custom data for credit transactions

Response

Success

Credit Transactions are used to make adjustments to a Credit Balance

id
integer<int32> | null

Id unique within the tenant ReadOnly

transactionType
string | null

Mozu.Customer.Contracts.Credit.CreditTransaction.CreditTransactionType Requried

comments
string | null

Comments about the transaction. Depending on the user interface, these comments may be readable by authorized users or customers.

impactAmount
number<double> | null

Amount to apply to Credit Balance Required

auditInfo
object
orderId
string | null
data
any | null

Custom data for credit transactions