***

title: "PunchOutGatewayPluginOptions"
generated: true
---------------

<GenerationInfo sourceFile="packages/punchout-gateway-plugin/src/types.ts" sourceLine="41" packageName="@vendure-community/punchout-gateway-plugin" />

Configuration options for the [PunchOutGatewayPlugin](/current/community-plugins/reference/punch-out-gateway-plugin/#punchoutgatewayplugin).

```ts title="Signature"
interface PunchOutGatewayPluginOptions {
    apiUrl?: string;
    shippingCostMode?: 'all' | 'nonZero' | 'none';
    productFieldMapping?: ProductFieldMappings;
}
```

<div className="members-wrapper">

### apiUrl

\<MemberInfo kind="property" type={`string`} default={`'https://www.punchcommerce.de'`}   />

### shippingCostMode

\<MemberInfo kind="property" type={`'all' | 'nonZero' | 'none'`} default={`'nonZero'`}   />

### productFieldMapping

\<MemberInfo kind="property" type={`ProductFieldMappings`}   />

*Example*

```ts
productFieldMapping: {
    unit: { customField: 'punchOutUnit', default: 'PCE' },
    unit_name: { customField: 'punchOutUnitName', default: 'Piece' },
    weight: { customField: 'productWeight', default: 0 },
}
```

</div>
