Skip to content

Sync Product with Provider (Admin) ​

Syncing a specific product is essential when you update its pricing or details locally and want these changes flawlessly mapped to an external gateway (like Polar, Stripe, or PayPal).

Instead of opening the Polar Dashboard and creating the product there manually, you can simply call this endpoint. Bridge Payments will handle the heavy lifting, issuing native Benefits and Products on Polar, returning the remote IDs directly to your instance.

Sync Product with Provider (Admin)​

POST
/bridge-payment/admin/products/{id}/sync

Admin endpoint to synchronize a product with a payment provider (e.g., Stripe or Polar). Creates or updates the product in the provider's system.

Authorizations​

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Parameters​

Path Parameters

id*

Product ID

Typestring
Required

Request Body​

application/json
JSON
{
"provider_id": "stripe",
"force": false
}

Responses​

Product synced successfully

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI