vayu-ts 0.1.1 → 0.1.2
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ To create a new customer:
|
|
|
104
104
|
```typescript
|
|
105
105
|
const response = await vayu.customers.create({
|
|
106
106
|
name: 'John Doe',
|
|
107
|
-
|
|
107
|
+
externalId: 'customer_12345'
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
console.log(response.customer);
|
|
@@ -117,7 +117,7 @@ To update an existing customer by ID:
|
|
|
117
117
|
```typescript
|
|
118
118
|
const response = await vayu.customers.update('customer-id', {
|
|
119
119
|
name: 'Jane Doe',
|
|
120
|
-
|
|
120
|
+
externalId: 'customer_67890'
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
console.log(response.customer);
|