> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/optimizely/configured-commerce/optimizely-configured-commerce/marketing/customize-the-prefix-and-format-for-order-and-customer-numbers.md).

# 注文番号と顧客番号のプレフィックスと形式をカスタマイズする

Configured Commerce では、自動生成された注文番号と顧客番号のプレフィックスと形式をカスタマイズするオプションが提供されます。 **\[Order Number]**&#x3068;**\[Customer Number Prefix]**&#x306E;デフォルト設定は「WEB」に設定されており、それぞれの番号形式は両方とも「000000」に設定されています。

{% hint style="info" %}
注記\
「000000」形式を使用する必要があります。 これらのゼロはフォーマット マスクであり、開始番号ではなく桁数に一致するゼロの数です。 特定の番号から開始する場合は、seqordernumber テーブルを更新する必要があります。seqordernumber は identity フィールドです。
{% endhint %}

ユーザーが注文番号を会社名の略称で開始し、反復番号シーケンスを特定の番号 (例: 「INSFT500000」) で開始したいシナリオでは、**\[Order Number Prefix]**&#x3092;「INSFT」に設定し、**\[Order Number Format]**&#x3092;「500000」に設定する必要があります。

1. **Admin Console** > **Websites**に移動します。
2. **\[Details]**&#x30D5;ィンガータブをクリックします。
3. **Format and Prefix Configuration**で、次のフィールドに必要な変更を加えます。
   * **Order Number Prefix**- すべての注文番号に追加されるプレフィックス。 デフォルト値: Z。
   * **Order Number Format**- 注文番号は、この設定で入力されたゼロの数に応じてフォーマットされます。 デフォルト値: 000000。
   * **Customer Number Prefix**- 自動的に生成されるすべての顧客番号に追加されるプレフィックス。 デフォルト値: C。
   * **Customer Number Format**- 自動的に生成された顧客番号は、この設定で入力されたゼロの数を使用してフォーマットされます。

デフォルト値: 000000。

<figure><img src="/files/IH1VogiDJ80bU0ebni6S" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.dxable.com/optimizely/configured-commerce/optimizely-configured-commerce/marketing/customize-the-prefix-and-format-for-order-and-customer-numbers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
