partner_id_from_location_id

Retrieves a partner ID from a location id.

Example

1
2
{{ '123' | partner_id_from_location_id }} => 123
{{ '345' | partner_id_from_location_id }} => null

Input

Type Parameter Description Required
string locationId The location id to retrieve the partner ID for. Comes before the | sign. Required

Output

Type Description
mixed The partner ID or null if not found