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: SELLER
generateProductMagicCode(
  input: GenerateProductMagicCodeInput!
): GenerateProductMagicCodePayload!

Arguments

ArgumentTypeDescription
inputGenerateProductMagicCodeInput!The listing.

Return type

GenerateProductMagicCodePayload!