Via GraphQL - CRUD on public/private metafields on a product - graphql

Is there anyway I could either update or delete a public metafield in a product, or a process to create and retrieve a private metafield via GraphQL?

Certainly. As long as you own the API key that created the private Metafield, you can easily make changes to it. The mutations to alter private Metafields on resources are published.

Related

How to signin for multiple contracts at the same time?

The JS SDK authenticates a wallet by way of requestSignIn(), however, this function takes only a single contract id, and I want the frontend app to hit multiple contracts on behalf of the user.
I suppose I could make it such that all transactions go through a single funnel contract, but this isn't really scalable - what if I want a dApp that also hits contracts outside my control?
What's the advice to solve this? I guess I could make the user signin multiple times, but that's pretty awful..
You can add a prefix for each private key being stored which would let you login to as many contracts as you want.
It's just a string prefix used to namespace the user's private key once they "login" (once they add a FunctionCall access key)
https://github.com/Learn-NEAR/starter--near-api-js/blob/ffe12359f94aa8b558824a3f3ec1f4ba82c0e86a/login-advanced.html#L19

Whats the process to adding a Public Key for the merchant?

Good day, we are creating a Vodacom product mini-app, we have created our public and private keys.. We don't see an option to view merchant details. Could you assist us with the process needed to add our public key for our merchant app.
You can send an email to miniprogramsupport#vodacom.co.za to get your public key configured on the VodaPay systems.

is there any way to create PaymentIntent from laravel cashier without using the raw create method

I know I can create a PaymentIntent by doing
PaymentIntent::create([])
but that requires pk authentication manually. I looked at the Cashier's Billable trait but found no such method, so I wonder if there's another to create it using Cashier's class.

How to share an authorized BigQuery view that queries other views from other datasets?

I have a bigquery view that I want to share with data analysts so that they can access its data through data studio. This shared view makes a query to a private view in another dataset which in turn makes a query to a table in another dataset, as per this diagram :
To achieve this, I followed the steps as mentioned in the tutorial Creating an authorized view
Assign the data analysts to the project-level bigquery.user role in IAM
Authorize the shared_view on the private_dataset_1
Authorize the data analysts group to access the shared_dataset with the BigQuery Data Viewer role
However, querying the shared_view from a data analyst account keeps failing because of insufficient permissions access..
To resolve this issue it is also necessary to share the private datasets accessed by the private view with this view, so that each private dataset in the chain is explicitly shared with views external to it that access it.
In this case, it is necessary to authorize the private_view_1 on the private_dataset_2.

Create new API fields for CS-Cart Users

Is there a way i can create custom fields for Users in CS-Cart where i can store a particular value unique to each user using the CS-Cart API?
I want to add two unique fields
Users API is cs-cart built-in Entity. You can find Users entity (php code) from this folder /app/Tygh/Api/Entities/Users.php
you can edit the Users.php for your desired purpose.

Resources