Skip to content
Discussion options

You must be logged in to vote

@steveninety You need to return the json payload present inside the body field and not the entire payload inside $respond.

Example:
Response Code: 200 OK (It's already correct)
Response Body: (Need to fix)

{
  items: [
    {
      id: itemId,
      taxes: [
        {
          amount: customAmount
        }
      ]
    }
  ]
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by logeshswell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
2 participants