Skip to main content

Subscriptons Api

move to finace, offering a general susbscription endpoint that can also be applied to products

get subs for single user

https://us-central1-calm-commerce.cloudfunctions.net/api/v1/get_all_products

req body

{
"team_id": "string",
"store_id": "string"
"user_id":"string",
}

This will return all user subscriptons for single user.

If you need a team_id and store_id, this temporary ones might work:

  • "team_id": "DqTronLcPgTBw04YIyyn",
  • "store_id": "1rIkxFzQDsGYnXvSBFxm",

update

https://us-central1-calm-commerce.cloudfunctions.net/api/v1/update_sub

req body

{
"team_id": "string",
"store_id": "string"
"user_id":"string",
"status":"string",
}