Admin API

Errors

HTTPextensions.codeMeaning
200—Success. Partial errors may be in errors[] (e.g. ACCESS_DENIED on one field).
200userErrorsMutation input was invalid — check payload.userErrors[{ field, message }].
400PARSE_ERROR / GRAPHQL_VALIDATION_FAILEDMalformed query or unknown field.
400MAX_COST_EXCEEDED / MAX_DEPTH_EXCEEDEDQuery too expensive or too deep.
401UNAUTHORIZEDMissing, wrong or revoked token.
404UNSUPPORTED_VERSIONUnknown API version in the URL.
429THROTTLEDRate limited — wait Retry-After seconds.
200INTERNAL_SERVER_ERRORUnexpected failure; safe to retry queries.

Mutations never throw for business-rule failures (e.g. fulfilling more than ordered); they return userErrors and a null resource.