mutation

getCollectionQRCodeBySlug

Generates a QR code for a specific product collection using its slug.
Arguments
Required
A short, human-readable, URL-friendly identifier of a collection. You can get slug value from the endpoint.
Response
link
String
Original url that was used to encoded url into a QR code.
String representation of the QR Code in SVG format.
Mutation
1mutation getCollectionQRCodeBySlug($slug: String!) {
2 getCollectionQRCodeBySlug(slug: $slug) {
3 link
4 svg
5 }
6}
Try it
Input Variables
1{
2 "slug": "slug"
3}
Response
1{
2 "getCollectionQRCodeBySlug": {
3 "link": "link",
4 "svg": "svg"
5 }
6}