---
title: ResourceType - Customer API
description: The B2B resource types.
api_version: unstable
api_name: customer
source_url:
  html: 'https://shopify.dev/docs/api/customer/unstable/enums/ResourceType'
  md: 'https://shopify.dev/docs/api/customer/unstable/enums/ResourceType.md'
---

# Resource​Type

enum

The B2B resource types.

## Valid values

* BUSINESS\_​PROFILE

  The Business Profile resource type.

* COMPANY

  The Company resource type.

* COMPANY\_​CONTACT

  The Company Contact resource type.

* COMPANY\_​CONTACT\_​ROLE

  The Company Contact Role resource type.

* COMPANY\_​LOCATION

  The Company Location resource type.

* COMPANY\_​LOCATION\_​BILLING\_​ADDRESS

  The Company Location Billing Address resource type.

* COMPANY\_​LOCATION\_​SHIPPING\_​ADDRESS

  The Company Location Shipping Address resource type.

* COMPANY\_​TAX\_​EXEMPTION

  The Company Tax Exemption resource type.

* DRAFT\_​ORDER

  The Draft Order resource type.

* ORDER

  The Order resource type.

* PAYMENT\_​METHOD

  The Payment Method resource type.

***

## Fields

* [Company​Contact​Role.resourcePermission(resource)](https://shopify.dev/docs/api/customer/unstable/objects/CompanyContactRole#field-CompanyContactRole.fields.resourcePermission.arguments.resource)

  ARGUMENT

  A role for a company contact. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).

* [Resource​Permission.resource](https://shopify.dev/docs/api/customer/unstable/objects/ResourcePermission#field-ResourcePermission.fields.resource)

  OBJECT

  Represents permissions on resources.

***

## Map

### Fields with this enum

* [Resource​Permission.resource](https://shopify.dev/docs/api/customer/unstable/objects/ResourcePermission#field-ResourcePermission.fields.resource)

### Arguments with this enum

* [Company​Contact​Role.resourcePermission(resource)](https://shopify.dev/docs/api/customer/unstable/objects/CompanyContactRole#field-CompanyContactRole.fields.resourcePermission.arguments.resource)
