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