Skip to content

Commit 713a782

Browse files
committed
Attempt to fix the reference to customization docs
1 parent c20a43a commit 713a782

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

fern/docs/pages/custom-objects.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The sections below provide more details on the available API endpoints for inter
124124

125125
### Get a Custom Object
126126

127-
To retrieve a specific custom object, use the `custom-objects.get` endpoint:
127+
To get a custom object, use the `custom-objects.get` endpoint:
128128

129129
```
130130
curl --location 'https://api.devrev.ai/custom-objects.get' \
@@ -138,7 +138,7 @@ curl --location 'https://api.devrev.ai/custom-objects.get' \
138138

139139
### List Custom Objects
140140

141-
To list custom objects based on specific criteria, use the `custom-objects.list` endpoint:
141+
To list custom objects, use the `custom-objects.list` endpoint:
142142

143143
```
144144
curl --location 'https://api.devrev.ai/custom-objects.list' \
@@ -157,7 +157,8 @@ curl --location 'https://api.devrev.ai/custom-objects.list' \
157157

158158
### Update a Custom Object
159159

160-
To update an existing custom object, use the `custom-objects.update` endpoint. Here's an example of updating the budget of a campaign:
160+
To update an existing custom object, use the `custom-objects.update` endpoint.
161+
The following example updates the budget of the previously created campaign custom object:
161162

162163
```
163164
curl --location 'https://api.devrev.ai/custom-objects.update' \
@@ -174,7 +175,8 @@ curl --location 'https://api.devrev.ai/custom-objects.update' \
174175

175176
### Delete a Custom Object
176177

177-
To delete a custom object, use the `custom-objects.delete` endpoint:
178+
To delete a custom object, use the `custom-objects.delete` endpoint.
179+
The following example deletes the previously created campaign custom object:
178180

179181
```
180182
curl --location 'https://api.devrev.ai/custom-objects.delete' \
@@ -193,10 +195,10 @@ curl --location 'https://api.devrev.ai/custom-objects.delete' \
193195
3. **Custom Fields**: User-defined fields that store specific data for your custom object.
194196
4. **Unique Key**: A unique identifier for each custom object, useful for maintaining idempotency.
195197

196-
For more details on customization concepts, please refer to the [Customization](./customization.mdx) documentation.
198+
For more details on customization concepts, please refer to the [Customization](./object-customization) documentation.
197199

198200
## Custom Object Lifecycle
199201

200-
1. **Creation**: Define the leaf type, subtype (optional), and custom fields for your object.
202+
1. **Creation**: Define the leaf type, subtype (optional), and custom fields for your custom object.
201203
2. **Usage**: Create, update, and query custom objects as needed in your workflows.
202-
3. **Management**: Modify the structure or delete custom objects as your needs evolve.
204+
3. **Management**: Modify the schema of the custom object as your needs evolve.

0 commit comments

Comments
 (0)