サプライヤーサイトAPI (/supplier_sites)

サプライヤーサイトにアクセスするURLは次のとおりです。 https ://<instance>/api/suppliers /: supplier_id/supplier_sites

詳細については、統合のベストプラクティスを参照してください。

注:

サプライヤーAPI GETコールの場合、レスポンス ペイロードにサプライヤーサイトが含まれます。 詳細はCoupa API用のPostman Collectionをご参照ください。

アクション

サプライヤーサイトAPIでは以下の操作が可能です。

動詞

パス

アクション

説明

POST

/api/suppliers/:supplier_id/supplier_sites

作成

サプライヤーサイトの作成

GET

/api/suppliers/:supplier_id/supplier_sites

インデックス

サプライヤーサイトのクエリ

GET

/api/suppliers/:supplier_id/supplier_sites/:id

表示

サプライヤーサイトの表示

PATCH

/api/suppliers/:supplier_id/supplier_sites/:id

更新

サプライヤーサイトの更新

PUT

/api/suppliers/:supplier_id/supplier_sites/:id

更新

サプライヤーサイトの更新

DELETE

/api/suppliers/:supplier_id/supplier_sites/:id

delete

IDでサプライヤーサイトを削除

Elements

サプライヤーサイトAPIでは、次の要素を使用できます。

要素

Description

必須フィールド?

一意?

許容値

Api_Inフィールド?

Api_Outフィールド?

データタイプ

アクティブ

サイトがアクティブな場合はtrue。 POST操作でペイロードに値が指定されていない場合、デフォルトは「true」となります。

true、false

yes&#10;

yes&#10;

boolean

account-types

勘定科目のタイプ

yes&#10;

yes&#10;

アカウントタイプ

addresses

サプライヤーサイトの住所

yes&#10;

yes&#10;

[]

allow_change_requests

サプライヤーがCSPから変更申請を作成できるようにする

yes&#10;

yes&#10;

boolean

allow-order-confirmation-item-substitutions

発注確認でサプライヤーが代替品を提案できるようにする

yes&#10;

yes&#10;

整数

buyer-hold

バイヤーのレビューが終わるまですべての発注書を保留

true、false

yes&#10;

yes&#10;

boolean

code

supplier_code

yes&#10;

yes&#10;

yes&#10;

yes&#10;

string (20)

contacts

サプライヤーサイトの連絡先

yes&#10;

yes&#10;

[]

content-groups

エンドユーザーに対するサプライヤーサイトの可視性を制御するコンテンツグループ。 POST操作でペイロードに値が指定されていない場合、デフォルトは「全員」のコンテンツグループとなります。

yes&#10;

yes&#10;

ContentGroup

作成日時

CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します

yes&#10;

datetime

created-by

作成したユーザー

yes&#10;

ユーザー

cxml-domain

「From」、当社ドメイン

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-http-username

サプライヤーのオンラインストアにアクセスするために必要なユーザー名

yes&#10;

yes&#10;

文字列

cxml-identity

「From」、当社ID

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-protocol

送信プロトコル

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-secret

共有シークレット

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-ssl-version

サプライヤーとのcXML通信に使用するSSLバージョンを指定

TLSv1_2, TLSv1_1, TLSv1

yes&#10;

yes&#10;

文字列

cxml-supplier-domain

「To」, サプライヤードメイン

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-supplier-identity

"To", サプライヤーID

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

cxml-url

発注書送信が「cxml」の場合に発注書が送信されるURL

はい (po-method = cxmlの場合)

yes&#10;

yes&#10;

文字列

default_locale

このサプライヤーサイトにメールを送信するための既定のロケール

no

no

any

yes&#10;

string(255)

disable-cert-verify

SSL証明書の不一致エラーを無視するかどうかを指定

true、false

yes&#10;

yes&#10;

boolean

ID

サプライヤーサイトレコードのCoupa内部ID

yes&#10;

整数

名前

サプライヤーサイト名

yes&#10;

yes&#10;

yes&#10;

文字列

payment-method

既定の支払方法(ドロップダウンから選択可能)

yes&#10;

yes&#10;

string(255)

支払条件

既定の支払条件(ドロップダウンから選択可能)

yes&#10;

yes (サプライヤーサイトが支払条件に関連付けられている場合のみ)

支払条件

支払条件はCoupa上に存在する必要があります。

po-change-method

発注変更送信方法

yes&#10;

cxml, xml, email, prompt, mark_as_sent, buy_online

yes&#10;

yes&#10;

文字列

po-email

発注書送信が「email」の場合に発注書が送信されるメールアドレス

yes (if po-method = email)

yes&#10;

yes&#10;

文字列

po-method

発注書送信方法

yes&#10;

cxml, xml, email, prompt, mark_as_sent, buy_online

yes&#10;

yes&#10;

文字列

発送条件

サプライヤーの発送条件(ドロップダウンから選択可能)

yes&#10;

はい (サプライヤーサイトが発送条件に関連付けられている場合のみ)

発送条件

発送条件はCoupa上に存在する必要があります。

supplier_id

サプライヤーID

yes&#10;

yes&#10;

整数

updated-at

CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します

yes&#10;

datetime

updated-by

更新したユーザー

yes&#10;

ユーザー