ドキュメント

Shipping Status Webhook

POSThttps://your_server_address/{your_shipping_endpoint}

配送ステータスの更新を通知します。

ヘッダー

  • X-Recustomer-Signature-256string必須

    ペイロードの HMAC SHA256 署名。データの完全性と送信元の認証を保証するためにヘッダーで提供される。署名は'sha256=signature'の形式と一致する必要があり、signature は 64 文字の 16 進文字列である。

    形式: ^sha256=[a-fA-F0-9]{64}$

  • X-Recustomer-Sender-IDstring必須

    このヘッダは、受信者がウェブフックの送信元を識別できるように、ウェブフックをトリガーした一意の識別子を含んでいます。

リクエストボディ

  • order_numberstring必須

    order number

  • shipping_addressobject必須

    配送先(配送先住所そのものが無い場合も、各項目を null にしたオブジェクトとして必ず含まれます)

    子の属性を表示1
    • phone_numberstring必須null のことがある

      配送先の電話番号(未登録の場合、または配送先住所そのものが無い場合は null)

  • tracking_numberstring必須

    tracking number

  • estimated_delivery_datestring(date)

    お届け予定日(YYYY-MM-DD 形式)

  • actual_delivery_datestring(date)null のことがある

    お届け完了日(YYYY-MM-DD 形式。お届け完了前は null)

  • actual_delivery_datetimestring(date-time)null のことがある

    お届け完了日時(ISO 8601 形式、JST オフセット付き。例:2026-01-15T19:30:00+09:00。お届け完了前、または配送会社側で時刻が取得できなかった場合は null)

  • latest_delivery_statusstring必須

    latest tracking status

    取りうる値: 荷物受付け 配送中 お届け完了 受取可能 ご不在のため持ち戻り 配送トラブル 保管期限の超過

  • delivery_companystring必須

    delivery company

  • logistics_centersarray of objects
    子の属性を表示1
    • centerobject
      子の属性を表示4
      • center_namestring

        logistics center name

      • center_addressstring

        logistics center address

      • updated_atstring

        arrived at the center

      • statusstring

        status name at the center

レスポンス

200 OK

  • resultsstring
© Recustomer, Inc.