cURL
curl --request PUT \ --url https://api.ubpass.co/v1/wallet-pass-location/{locationId} \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "name": "Main Store", "enabled": true, "latitude": 37.7749, "longitude": -122.4194, "relevantText": "You are near Main Store!", "passSerialNumber": "pass-123" }'
{ "name": "Main Store", "enabled": true, "latitude": 37.7749, "longitude": -122.4194, "relevantText": "You are near Main Store!", "passSerialNumber": "pass-123" }
Update a specific Pass location configuration. These locations trigger push notifications when users are nearby.
Location has been updated successfully
The response is of type object.
object