Skip to content

Conversation

@byte-rose
Copy link

  • Add omitempty to last_updated_time tag to omit empty values in JSON, reducing noise and aligning with API expectations.
  • Apply gofmt: normalize imports and indentation (tabs) across catalog_manager.go.
  • No behavioral changes to request/response handling.

Please describe the changes this PR makes and why it should be merged:

Status and versioning classification:

- Add catalog feed upload support with multipart/form-data
- Introduce FeedUpload, FeedUploadResponse, FeedUploadSession,
  FeedUploadError, FeedUploadErrorReport types for status/diagnostics
- Add utilities/endpoints to list sessions and fetch error reports
- Pre-validate catalog and multi-product message buttons in template
  Create/Update to fail fast with clearer errors
- Import bytes, io, mime/multipart, net/textproto, filepath to support
  CSV uploads

Why: Improves catalog ingestion visibility and error handling, and
catches invalid template button configurations client-side to reduce
API round-trips and cryptic server errors.
- Add omitempty to last_updated_time tag to omit empty values in JSON, reducing noise and aligning with API expectations.
- Apply gofmt: normalize imports and indentation (tabs) across catalog_manager.go.
- No behavioral changes to request/response handling.
@sarthakjdev
Copy link
Member

Thanks for this PR. I will check it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants