"""Queries.""" GET_PRODUCT_BY_UPC = """ query($upc: String!) { productByUpc(upc: $upc) { productId productName productCode cLine deliveredVersion status format imprint notForDistribution project { projectId } tracks { isrc trackNumber ownershipRights recordingCountryId originalRightsHolderCountryId publishing { publisherNames usPublishingObligation } localizations { trackName version iTunesLanguage { id } artists { artistName artistType } } } genreId subgenreId labelParticipations { role labelParticipant { name uuid } } productLocalizations { productName deliveredVersion iTunesLanguage { id } artists { artistName artistType } } } } """ CREATE_PRODUCT = """ mutation ($data: CreateProductInput!) { createProduct(input: $data) { productId upc project{ projectId } } } """ UPDATE_PRODUCT = """ mutation ($data: UpdateProductInput!) { updateProduct(input: $data) { productId } } """ UPDATE_PRODUCT_PRICING_TIER = """ mutation ($data: UpdateProductPricingTier!) { updateProductPricingTier(input: $data) { id } } """