The Party Specific Item object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
{
"id": "party-specific-item_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"party_type": "party_type_example",
"party": "party_example",
"restrict_based_on": "restrict_based_on_example",
"based_on_value": "based_on_value_example"
} /api/crm/party-specific-item/{id} Retrieve a party specific item
Retrieves the details of an existing party specific item. Supply the unique party specific item ID that was returned from a previous request.
Path parameters
The identifier of the party specific item to retrieve.
Returns
Returns the party specific item object if a valid identifier was provided.
curl https://api.overplane.dev/api/crm/party-specific-item/party-specific-item_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "party-specific-item_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"party_type": "party_type_example",
"party": "party_example",
"restrict_based_on": "restrict_based_on_example",
"based_on_value": "based_on_value_example"
} /api/crm/party-specific-item List all party specific items
Returns a list of party specific items. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of party specific item objects.
curl https://api.overplane.dev/api/crm/party-specific-item \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "party-specific-item_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"party_type": "party_type_example",
"party": "party_example",
"restrict_based_on": "restrict_based_on_example",
"based_on_value": "based_on_value_example"
}
],
"has_more": false,
"total": 1
} /api/crm/party-specific-item Create a party specific item
Creates a new party specific item object.
Body parameters
Returns
Returns the newly created party specific item object if the call succeeded.
curl https://api.overplane.dev/api/crm/party-specific-item \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"party_type":"party_type_example","party":"party_example","restrict_based_on":"restrict_based_on_example","based_on_value":"based_on_value_example"}' {
"id": "party-specific-item_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"party_type": "party_type_example",
"party": "party_example",
"restrict_based_on": "restrict_based_on_example",
"based_on_value": "based_on_value_example"
} /api/crm/party-specific-item/{id} Update a party specific item
Updates the specified party specific item by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the party specific item to update.
Body parameters
Returns
Returns the updated party specific item object.
curl https://api.overplane.dev/api/crm/party-specific-item/party-specific-item_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"party_type":"party_type_example","party":"party_example"}' {
"id": "party-specific-item_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"party_type": "party_type_example",
"party": "party_example",
"restrict_based_on": "restrict_based_on_example",
"based_on_value": "based_on_value_example"
} /api/crm/party-specific-item/{id} Delete a party specific item
Permanently deletes a party specific item. This cannot be undone.
Path parameters
The identifier of the party specific item to delete.
Returns
Returns a confirmation that the party specific item has been deleted.
curl https://api.overplane.dev/api/crm/party-specific-item/party-specific-item_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "party-specific-item_abc123",
"deleted": true
}