Skip to navigation

Register Push Subscription

View as Markdown

Register Push Subscription

Registers a push notification subscription for order updates.

Endpoint

POST https://convention.photos/api/push/subscribe

Description

Stores the push subscription details to enable sending notifications for order status changes.

Request Body

Push subscription object from the browser Push API.

Response

Confirmation of subscription registration.

Use Cases

  • Receive notifications when orders are processed - Get updates on shipping status

Authentication

No authentication required.

Response

Push subscription registered