CPB Subscriptions
- Shopify Subscriptions are stored in the datastore://
custom-product-builder-production-tokens
.
That kind does not have the shopifyStoreId but only the storeName. Therefore the join is required.
Since there is no shop entity in the datastore the crawl among multiple kinds is required in order not to miss
any shops. - Magento subscriptions are stored in the GCE Storage Bucket gs://
custom-product-builder-subscriptions-auth
- Source:
Methods
(static) list(bucketopt, nullable, fetchopt, nullable, nameopt, nullable, versionsopt, nullable) → {Promise.<{MagentoSubscriptionList}>}
Lists The Magento Stores Subscriptions and creates index file
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
bucket |
string |
<optional> <nullable> |
'custom-product-builder-subscription-auth' | |
fetch |
boolean |
<optional> <nullable> |
false | fetch new data and update index file |
name |
string |
<optional> <nullable> |
'index.json' | index file name |
versions |
boolean |
<optional> <nullable> |
false | include previous file versions |
- Source:
Returns:
- Type
- Promise.<{MagentoSubscriptionList}>