Skip to content

AC-16602: API Documentation#537

Draft
shashi011 wants to merge 1 commit intoAdobeDocs:mainfrom
shashi011:AC-16602
Draft

AC-16602: API Documentation#537
shashi011 wants to merge 1 commit intoAdobeDocs:mainfrom
shashi011:AC-16602

Conversation

@shashi011
Copy link

Purpose of this pull request

This pull request (PR) ...

Affected pages

  • ...

Links to Magento Open Source code

  • ...

@shashi011
Copy link
Author

@keharper
Please review the following new REST API endpoints added to the Admin API schema (Commerce 2.4.8):
Endpoints:
POST /V1/carts/{cartId}/balance/apply - Apply store credit balance to a cart
DELETE /V1/carts/{cartId}/balance/unapply - Unapply store credit balance from a cart
GET /V1/customers/{customerId}/balance/{websiteId} - Get store credit balance for a customer and website
Changes:
Added endpoint definitions, tags, and tag groups
Created schema definition: customer-balance-data-balance-interface
File: src/openapi/admin-schema-2.4.8.yaml
Please review for correctness and consistency with existing API patterns. Also, please confirm if we need to update any other files or documentation for these REST changes. Thanks!

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

Labels

None yet

Projects

Status: 📋 Needs Review

Development

Successfully merging this pull request may close these issues.

1 participant