candy-api icon indicating copy to clipboard operation
candy-api copied to clipboard

GetCandy v1 E-Commerce API

Results 15 candy-api issues
Sort by recently updated
recently updated
newest added

**Describe the bug** ProductRouteController does not exist **To Reproduce** Write command `php artisan route:list` **Expected behavior** Show route list of laravel application **Screenshots** Target class [GetCandy\Api\Http\Controllers\Products\ProductRouteController] does not exist. at...

Updated the tests workflow - Run on both ubuntu and windows - Run on 7.4 and 7.3 - Run on prefer-stable ~~and prefer-lowest~~ (prefer-lowest fails, so disabled it again) -...

This PR has various updates to the spec to get ready for `0.12` Notably I've added some initial `include` descriptions for resources, update some examples and update query params for...

This PR looks to add some simple validation to discounts when updating so things like coupons can't be empty.

This PR continues on https://github.com/getcandy/candy-api/pull/417 - Added support and test runs for PHP 8

Was just reading through the code and found this typo

**Describe the bug** When updating a discount through an API, it throws an error related to SQL: ``` "SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row:...

Given a product with variants set up (with existing option groups), trying to add a new option group to the product by calling `POST /api/v1/products/:product_id/variants` with the `variants` field but...

bug
enhancement

Users can't migrate using laravel sail and php8. ## Expected Behavior Using commands `sail art migrate` should resolve without issues. ## Current Behavior Trying to migrate this error shows up:...

bug