Skip to main content

purchaseAuthorizationConfigCreate

Create a new purchase authorization configuration for a contact.

Establishes purchase authorization for a specific contact within a company, defining their role and financial limits for procurement activities.

Possible errors:

  • PURCHASE_AUTHORIZATION_CONFIG_ALREADY_EXISTS_ERROR: Authorization already exists for this contact-company combination
  • PURCHASE_AUTHORIZATION_CONFIG_CREATE_ERROR: Failed to create the authorization configuration
  • CONTACT_NOT_FOUND_ERROR: Contact with the specified ID does not exist
  • COMPANY_NOT_FOUND_ERROR: Company with the specified ID does not exist AUTH: Role=[user.OWNER] OR (('user is authenticated') AND ('companyId(s) if present in input matches JWT')),
purchaseAuthorizationConfigCreate(
input: PurchaseAuthorizationConfigCreateInput
): PurchaseAuthorizationConfig!

Arguments

purchaseAuthorizationConfigCreate.input ● PurchaseAuthorizationConfigCreateInput input

Input data for creating a new purchase authorization configuration.

Contains all necessary information to establish purchase authorization for a contact within a company, including role and financial limits.

Type

PurchaseAuthorizationConfig object