@rebilly/api 0.20.5 → 0.20.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -2
- package/dist/core-client.schemas.d.ts +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4634,6 +4634,12 @@ export type CreditMemo = {
|
|
|
4634
4634
|
* Number of times the credit memo has been modified.
|
|
4635
4635
|
*/
|
|
4636
4636
|
readonly revision?: number;
|
|
4637
|
+
/**
|
|
4638
|
+
* ID of the customer.
|
|
4639
|
+
* An update request cannot change the customer of an existing credit memo.
|
|
4640
|
+
* To credit another customer, use the [Void a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemovoid) operation,
|
|
4641
|
+
* then the [Create a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemo) operation for that customer.
|
|
4642
|
+
*/
|
|
4637
4643
|
customerId: CustomerId;
|
|
4638
4644
|
currency: CurrencyCode;
|
|
4639
4645
|
/**
|
|
@@ -4652,8 +4658,7 @@ export type CreditMemo = {
|
|
|
4652
4658
|
* The transaction must be approved and associated with the same customer as the credit memo.
|
|
4653
4659
|
* Approved transactions of any type are accepted, including refunds and voided sales.
|
|
4654
4660
|
* If the transaction result changes later, the association is retained.
|
|
4655
|
-
* If this field is omitted in an update request
|
|
4656
|
-
* If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
|
|
4661
|
+
* If this field is omitted in an update request, this field retains its current value.
|
|
4657
4662
|
* To remove the transaction from the credit memo, set this field to `null`.
|
|
4658
4663
|
* @maxLength 50
|
|
4659
4664
|
*/
|