Author:
Fluent Commerce
Changed on:
12 Feb 2024
One of the scenario where the the Batch is stuck in PENDING status is when the create Retailer payload is missing RetailerID. For example:
1{
2 "action": "CREATE",
3 "entityType": "RETAILER",
4 "entities": [
5 {
6 "retailerName": "{{fluentAccountId_lower}}_retailer_M1",
7 "region": "AUS",
8 "tradingName": "M Retailer Co ",
9 "customerSupportPhone": "319319",
10 "customerSupportEmail": "randy.chanM@fluentcommerce.com",
11 "website": "http://www.fluentcommerce.com",
12 "summary" : "Retailer Summary",
13 "primaryEmail": "randy.chanMM@fluentcommerce.com",
14 "supportContactName" : "R CHAN"
15
16 }
17 ]
18}
Language: json
Name: Incorrect Create Retailer Batch
Description:
[Warning: empty required content area]The correct payload should look like:
1{
2 "action": "CREATE",
3 "entityType": "RETAILER",
4 "entities": [
5 {
6 "retailerId": "{{fluentAccountId_lower}}_retailer_M1",
7 "retailerName": "{{fluentAccountId_lower}}_retailer_M1",
8 "region": "AUS",
9 "tradingName": "M Retailer Co ",
10 "customerSupportPhone": "319319",
11 "customerSupportEmail": "randy.chanM@fluentcommerce.com",
12 "website": "http://www.fluentcommerce.com",
13 "summary" : "Retailer Summary",
14 "primaryEmail": "randy.chanMM@fluentcommerce.com",
15 "supportContactName" : "R CHAN"
16
17 }
18 ]
19}
Language: json
Name: Correct Create Retailer Batch
Description:
[Warning: empty required content area]Which include:
`"retailerId": "{{fluentAccountId_lower}}_retailer_M1",`
When the batch is stuck in PENDING status, the account will not able to create any new retailer:
Even create a new Job ID will still get stuck:
When this happen, the solution is to get SRE to update the batch status to COMPLETE status as they are the only one how have access to the backend.
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.