Add cancelAutoOrderItemByReferenceOrderId samples across all languages#5
Open
ucjonathan wants to merge 1 commit intomasterfrom
Open
Add cancelAutoOrderItemByReferenceOrderId samples across all languages#5ucjonathan wants to merge 1 commit intomasterfrom
ucjonathan wants to merge 1 commit intomasterfrom
Conversation
Bumps SDK pins repo-wide to 4.1.74 and adds one sample per language demonstrating the new AutoOrderApi.cancelAutoOrderItemByReferenceOrderId method, which cancels a single item on an auto order identified by the reference (original) order id and the original merchant item id. Java and C# are authored against inferred signatures — their SDKs are not yet published at 4.1.74 (Maven Central tops out at 4.1.13, NuGet at 4.1.66). See SDK_PUBLISHING_ISSUES.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
<lang>/auto_order/directory demonstrating the newcancelAutoOrderItemByReferenceOrderIdmethod onAutoOrderApiSDK_PUBLISHING_ISSUES.mddocumenting that the Java SDK is stuck at 4.1.13 on Maven Central and the C# SDK is stuck at 4.1.66 on NuGet — both need a new publish before their samples can buildNotes
reference_order_id+original_item_idand cancels a single item on the matching auto order — useful when you know the original UltraCart order id but not theauto_order_oid.pauseAutoOrdersample in each language (helper-based client init, placeholder IDs, single API call, print response).Test plan
ruby -c— syntax OKnode --check— OKtsc --noEmitagainst real 4.1.74 SDK types — OK (confirms method signature matches)php -l— OKpy_compile— OKmvn packagesmoke test once rest-sdk 4.1.74 lands on Maven Centralnuget restore+ MSBuild smoke test once com.ultracart.admin.v2 4.1.74 lands on NuGetDEMO-12345678,ITEM001) consistent with other samples in the repo🤖 Generated with Claude Code