Admin API / Mutations
generateProductMagicCode
Give a listing its six-digit magic code, or return the one it has. The code is what buyers see in a caption and type in a Messenger claim.
Requires a client key with one of these scopes:
admin:social:writeRequires this member role or higher: SELLERgenerateProductMagicCode(
input: GenerateProductMagicCodeInput!
): GenerateProductMagicCodePayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | GenerateProductMagicCodeInput! | The listing. |