Skip to content

[releases/28.x] [Shopify] Skip empty inventory API call when batch size is exact multiple of 250#7215

Open
onbuyuka wants to merge 1 commit intoreleases/28.xfrom
backport/28.x/empty-inventory-request
Open

[releases/28.x] [Shopify] Skip empty inventory API call when batch size is exact multiple of 250#7215
onbuyuka wants to merge 1 commit intoreleases/28.xfrom
backport/28.x/empty-inventory-request

Conversation

@onbuyuka
Copy link
Contributor

@onbuyuka onbuyuka commented Mar 18, 2026

Summary

  • Guard the final ExecuteInventoryGraphQL call in ExportStock with if InputSize > 0 to avoid sending an unnecessary empty request when the number of inventory items is an exact multiple of the 250-item batch size

Fixes AB#625962

🤖 Generated with Claude Code

…iple of 250

Guard the final ExecuteInventoryGraphQL call with an InputSize > 0 check
to avoid sending an unnecessary empty request when the number of items
is an exact multiple of the 250-item batch size.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@onbuyuka onbuyuka requested a review from a team as a code owner March 18, 2026 12:15
@onbuyuka onbuyuka changed the title [Shopify] Skip empty inventory API call when batch size is exact multiple of 250 [releases/28.x] [Shopify] Skip empty inventory API call when batch size is exact multiple of 250 Mar 18, 2026
@onbuyuka onbuyuka enabled auto-merge (squash) March 18, 2026 12:17
@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Mar 18, 2026
@github-actions github-actions bot added this to the Version 28.1 milestone Mar 18, 2026
@onbuyuka onbuyuka closed this Mar 21, 2026
auto-merge was automatically disabled March 21, 2026 17:46

Pull request was closed

@onbuyuka onbuyuka reopened this Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant