Docs

Shipping Status Webhook

POSThttps://your_server_address/{your_shipping_endpoint}

Notifies you of a shipping status update.

Sent when the shipping status changes (the "配送ステータスの更新" (shipping status updated) event in the admin). Currently, it is not sent until the carrier and the shipping status are known. This condition may change. Currently, every field of the body is included, but fields that are not required may be omitted in the future.

Headers

  • X-Recustomer-Signature-256-V2stringrequired

    Signature. The lowercase hexadecimal HMAC-SHA256 of {value of X-Recustomer-Signature-256-V2-Timestamp-Epoch}.{body} (without sha256=). Use the webhook secret string itself as the key (do not decode it as hexadecimal), and the body bytes exactly as received (do not reformat the JSON)

    Pattern: ^[a-f0-9]{64}$

  • X-Recustomer-Signature-256-V2-Timestamp-Epochstringrequired

    Time of signing (Unix time in seconds). Renewed each time the notification is sent. Reject values that differ from the current time by more than 5 minutes

  • X-Recustomer-Signature-256stringrequired

    Signature of the body, which is sha256= followed by the lowercase hexadecimal HMAC-SHA256 of the body (the key and body are handled as in X-Recustomer-Signature-256-V2). It does not include a timestamp, so use X-Recustomer-Signature-256-V2 to verify notifications

    Pattern: ^sha256=[a-f0-9]{64}$

  • X-Recustomer-Sender-Idstringrequired

    An identifier fixed for each store. The same as the value shown in the admin Webhook settings

  • X-Recustomer-Event-Idstringrequired

    Event ID. Unchanged when the notification is sent again. The same event may arrive more than once, so use it to detect duplicates

  • X-Recustomer-Event-Occurred-Atstring(date-time)required

    Time the event occurred (ISO 8601; currently sent in UTC). It is not the time of sending and stays the same across retries. The order of delivery is not guaranteed, so you can use this value to determine the order of events

Request body

  • order_numberstringrequired

    order number

  • shipping_addressobjectrequired

    Shipping address (always included; when there is no shipping address at all, it is an object whose fields are null)

    Show child attributes1
    • phone_numberstringrequirednullable

      Phone number of the shipping address (null if not registered, or if there is no shipping address at all). The format is not guaranteed

  • tracking_numberstringrequired

    tracking number

  • estimated_delivery_datestring(date)

    Estimated delivery date (YYYY-MM-DD). If unknown, an empty string is currently sent

  • actual_delivery_datestring(date)nullable

    Delivery completion date (YYYY-MM-DD; null until delivered)

  • actual_delivery_datetimestring(date-time)nullable

    Delivery completion date and time (ISO 8601 with the JST offset, for example 2026-01-15T19:30:00+09:00; null until delivered, or if the carrier does not provide the time)

  • latest_delivery_statusstringrequired

    latest tracking status

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

  • delivery_companystringrequired

    Carrier. The values currently sent are yamato, sagawa, jp, seino_unyu, eco_hai, global, others, askullogist, dhl, and ninjavan. More values may be added, so don't fail on an unknown value

  • logistics_centersarray of objects

    Progress at each carrier location. The order is not guaranteed. Currently, newly retrieved progress follows the progress already delivered

    Show child attributes1
    • centerobject
      Show child attributes3
      • center_namestring

        logistics center name. If unknown, an empty string is currently sent

      • updated_atstring(date-time)nullable

        arrived at the center

      • statusstring

        Status at the location as shown by the carrier (different from latest_delivery_status). If unknown, an empty string is currently sent

Responses

200 Return a 2xx status. The content of the body is not checked, so it can be empty

© Recustomer, Inc.