[Shopify] API 2026-01 uptake — backport to releases/27.1 (fix ImportPayout accessibility)#8691
Open
Copilot wants to merge 2 commits into
Open
[Shopify] API 2026-01 uptake — backport to releases/27.1 (fix ImportPayout accessibility)#8691Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…Payout accessibility Backport of PR #8366 (API 2026-01 uptake) and PR #8548 (codeunit ID clash fix). Key fix: Change ImportPayout from 'local' to 'internal' procedure so test UnitTestImportPayoutWithExternalTraceId can call it directly. Changes: - API version update from 2025-07 to 2026-01 - Inventory API rework with idempotency and retry logic - Unverified return lines support - Article reference metafield support - Tax Code deprecation (ObsoleteTag CLEAN28/CLEANSCHEMA31) - External Trace Id on Payout table (field 16) - GetCurrentBulkOperation removal - Pagination fixes (id:> to id:>=) - Codeunit ID clash fix (139593 → 134248) - ImportPayout: local → internal for test accessibility Fixes CI failure: AL0132 'Shpfy Payments API' does not contain a definition for 'ImportPayout'
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job for Build Apps
[Shopify] API 2026-01 uptake — backport to releases/27.1 (fix ImportPayout accessibility)
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of PR #8366 (Shopify API 2026-01 uptake) and PR #8548 (codeunit ID clash fix) to
releases/27.1. CI was failing because the newUnitTestImportPayoutWithExternalTraceIdtest calledPaymentsAPI.ImportPayout()directly, butImportPayoutwas declaredlocalΓÇö inaccessible outside the codeunit.Critical fix
ShpfyPaymentsAPI.Codeunit.al:local procedure ImportPayout→internal procedure ImportPayoutPayout — External Trace Id (API 2026-01)
ShpfyPayout.Table.al: new field 16"External Trace Id"(Text[250])ShpfyPaymentsAPI.Codeunit.al: mapexternalTraceIdJSON field into the new table fieldShpfyGQLPayouts/ShpfyGQLNextPayouts: addexternalTraceIdto GraphQL selection; fix payout filter fromid:>→id:>=ShpfyPaymentsTest.Codeunit.al: new testUnitTestImportPayoutWithExternalTraceIdInventory API rework
ShpfyInventoryAPIShpfyInventoryExportTest,ShpfyInventoryRetryScenarioenum,ShpfyInventorySubscriberReturn lines
ShpfyReturnLine.Table.al/ShpfyReturnsAPI: unverified return line supportShpfyReturnLineTypeenumShpfyGQLReturnLines/ShpfyGQLNextReturnLinesqueriesMetafields
ShpfyMtfldTypeArticleRefcodeunit implementing article reference metafield typeShpfyMetafieldTypeenum: newArticleReferencevalueBulk operations
ShpfyGQLBulkOperationscodeunit (and associatedCurrentBulkOperation*test resources)ShpfyBulkOperationAPI/ShpfyBulkOperationMgt: updated to removeGetCurrentBulkOperationdependencyProducts / Tax Code deprecation
ShpfyVariant,ShpfyVariants.Page,ShpfyVariantAPI,ShpfyCreateProduct,ShpfyProductExport: Tax Code marked obsolete (ObsoleteTag = CLEAN28/CLEANSCHEMA31)ShpfyGQLVariantById: updated queryMisc
ShpfyObjects.PermissionSet: updated for new objectsFixes AB#639697