Skip to content

fix: add missing signature response headers to get_order#370

Merged
igrigorik merged 3 commits into
Universal-Commerce-Protocol:mainfrom
ynachiket:fix/get-order-response-headers
Jun 12, 2026
Merged

fix: add missing signature response headers to get_order#370
igrigorik merged 3 commits into
Universal-Commerce-Protocol:mainfrom
ynachiket:fix/get-order-response-headers

Conversation

@ynachiket

@ynachiket ynachiket commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

The get_order operation was the only REST endpoint missing Signature, Signature-Input, and Content-Digest response headers. All other operations (checkout, cart, catalog, get_product) already declare these headers, enabling codegen tools to surface signature verification and signaling to implementors that responses should be signed per the signatures spec.

Closes #364

Description

Please include a summary of the changes and the related issue. Please also
include relevant motivation and context.

Type of change

  • [ x] Bug fix (non-breaking change which fixes an issue)

The get_order operation was the only REST endpoint missing
Signature, Signature-Input, and Content-Digest response headers.
All other operations (checkout, cart, catalog, get_product) already
declare these headers, enabling codegen tools to surface signature
verification and signaling to implementors that responses should
be signed per the signatures spec.

Closes Universal-Commerce-Protocol#364

Made-with: Cursor
@ynachiket ynachiket requested review from a team as code owners April 21, 2026 04:10

@jingyli jingyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@igrigorik igrigorik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@igrigorik

Copy link
Copy Markdown
Contributor

@jingyli non-blocking, did you audit if there are any other places we might be missing it?

@jingyli

jingyli commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@igrigorik Yes, from openapi side, this is the last fix needed. Though a meta-point is that we don't have representation of signature headers definition in our openrpc file despite documentation mentioning it is supported.

@igrigorik igrigorik merged commit bef87dd into Universal-Commerce-Protocol:main Jun 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working TC review Ready for TC review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_order response missing standard signature headers

5 participants