partner_id_from_name
Retrieves a partner ID from a partners name.
Example
1
2
{{ '123' | partner_id_from_name }} => 123
{{ '345' | partner_id_from_name }} => null
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | name | The name of the partner to retrieve the partner ID for. Comes before the | sign. | Required |
Output
| Type | Description |
|---|---|
| mixed | The partner ID or null if not found |