Hi Team,
ISSUE 1:
We are not receiving webhooks for the state store_reassigned. Given below is the payload that we are passing:-
{"force_transition":false,"statuses":[{"status":"store_reassigned","shipments":[{"identifier":"17097946803371104910","data_updates":{"products":[{"data":{"store_id":"1121"}}],"entities":[{"data":{"affiliate_shipment_id":"17097946803371104910"}}]}}]}]}
This results in 200 status giving the below response:-
{"statuses": [{"shipments": [{"status": 200, "final_state": {"store_reassigned": "store_reassigned", "shipment_id": "17097946803371104910"}, "identifier": "17097946803371104910"}]}]}
Status change can be conformed from the plaform as well.
ISSUE 2:
Now when we call getShipmentById() method on this shipmentId we get shipments as empty.
{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} --> GET https://api.jiox1.de/service/platform/order/v1.0/company/4/shipment-details?shipment_id=17097946803371104910&fetch_active_shipment=true \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} Authorization: Bearer oa-663d27b309e06fa0119e52feb9973250e4d935e5 \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} Content-Type: application/x-www-form-urlencoded \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-fp-sdk-version: 1.4.1 \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-ext-lib-version: java/0.5.0 \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-fp-date: 20240402T080015Z \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} host: api.jiox1.de \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-fp-signature: v1:1fcd41c80b65a082e270787874d002878e7b18de9d277c5447664256491589b0 \
\{2024-04-02 13:30:15.760 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} --> END GET \
\{2024-04-02 13:30:15.761 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} curl -X GET -H "Authorization:Bearer oa-663d27b309e06fa0119e52feb9973250e4d935e5" -H "Content-Type:application/x-www-form-urlencoded" -H "x-fp-sdk-version:1.4.1" -H "x-ext-lib-version:java/0.5.0" -H "x-fp-date:20240402T080015Z" -H "host:api.jiox1.de" -H "x-fp-signature:v1:1fcd41c80b65a082e270787874d002878e7b18de9d277c5447664256491589b0" "https://api.jiox1.de/service/platform/order/v1.0/company/4/shipment-details?shipment_id=17097946803371104910&fetch_active_shipment=true" \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} <-- 200 https://api.jiox1.de/service/platform/order/v1.0/company/4/shipment-details?shipment_id=17097946803371104910&fetch_active_shipment=true (429ms) \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} date: Tue, 02 Apr 2024 08:00:17 GMT \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} content-type: application/json \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} content-length: 44 \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} strict-transport-security: max-age=63072000; includeSubdomains \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} strict-transport-security: max-age=432000; includeSubDomains \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-content-type-options: nosniff \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-content-type-options: nosniff \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-seller-details: \{"country_code":"IN","currency":\{"code":"INR","symbol":"Rs.","name":"Indian Rupee"\},"timezone":"Asia/Kolkata"\} \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-download-options: noopen \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} origin-agent-cluster: ?1 \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-xss-protection: 0 \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} content-security-policy: default-src 'self'; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; img-src 'self' data:; object-src 'none'; script-src 'self'; script-src-attr 'none'; style-src 'self' https: 'unsafe-inline'; upgrade-insecure-requests; require-trusted-types-for 'script' \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} cross-origin-opener-policy: unsafe-none \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} cross-origin-embedder-policy: unsafe-none \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} referrer-policy: strict-origin-when-cross-origin \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-dns-prefetch-control: off \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-permitted-cross-domain-policies: none \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-frame-options: DENY \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} cache-control: no-cache \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} x-fynd-trace-id: 7230e3b611cbc72e429f72759586db95 \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} via: 1.1 google \
\{2024-04-02 13:30:16.190 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000 \
\{2024-04-02 13:30:16.191 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} \
\{2024-04-02 13:30:16.191 -DEBUG\} \{\} \{com.sdk.common.FDKLogger \} \{"success":true,"message":"","shipments":[]\} }
Please Look into it.