Add a country-specific HS code to an existing CatalogItem, identified by its SKU or product ID. If the CatalogItem already has an HS code for the same shipToCountry, that HS code is replaced instead of rejected, and its existing ID is returned. Because of this, repeating the same call (for example, after a timeout) is safe.
Mutation.
catalogItemHsCodeCreate
Add a country-specific HS code to an existing
CatalogItem, identified by its SKU or product ID. If theCatalogItemalready has an HS code for the sameshipToCountry, that HS code is replaced instead of rejected, and its existing ID is returned. Because of this, repeating the same call (for example, after a timeout) is safe.Arguments
input
[CatalogItemHsCodeInput!]!
Required
Returns:
[CatalogItemHsCode!]!
type Mutation { catalogItemHsCodeCreate(input: [CatalogItemHsCodeInput!]!): [CatalogItemHsCode!]! }Was this page helpful?