---
title: "WeightUnit"
description: "Units used to measure weight."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/enums/weight-unit'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/enums/weight-unit.md'
---
# WeightUnit

Units used to measure weight.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`WeightUnit`

## Values

* `GRAMS`

  Unit of mass in the metric system.

* `KILOGRAMS`

  The weight of 1 kg is equal to 1000 grams. 

* `OUNCES`

  Unit of weight in the Imperial system.

* `POUNDS`

  The weight of 1 pound is equivalent to 16 ounces.

## Schema Definition

```graphql
enum WeightUnit { 
	GRAMS 
	KILOGRAMS 
	OUNCES 
	POUNDS  
}
```

## Field from

* [ProductVariant](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-variant.md).weightUnit

  The measurement unit for the weight of the variant. If weight_unit is not specified, the store's default measurement unit will be applied.

## Input field from

* [ProductVariantInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variant-input.md).weightUnit

  The measurement unit for the weight of the variant. If `weight_unit` is not specified, the store's default measurement unit will be applied.

* [ProductVariantsBulkInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variants-bulk-input.md).weightUnit

  The measurement unit for the weight of the variant. If `weight_unit` is not specified, the store's default measurement unit will be applied.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

