Update stop reference
Update an existing custom reference on a trip stop, requiring If-Match with the current trip ETag from trip or stop reads.
If-Match is required with the trip ETag — not a per-stop token.
Read that value from Get trip, List trip stops, or Get trip stop; those GETs return the trip ETag on the response. The write persists only the target trip and returns its refreshed ETag.
Requires stop:update.
See Updating records safely.
Path parameters
Headers
Request body
Example
Status codes
Authorizations
OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.
Headers
Path Parameters
API version (e.g., 1.0)
"1.0"
Body
Reference name. Must be 50 characters or fewer. For catalog-backed writes, must match the configured definition name.
50Reference value. Must be 40 characters or fewer — enough for a 36-character CFDI folio UUID. OrderNumber and PONumber stay at the X12 30-character bound and are unchanged by this field.
40Optional tenant catalog definition id from List custom reference definitions. When set, the value is validated against that definition.