hngi/jl-python-mycustomer

Create Customer

Closed this issue · 4 comments

Complete this section

What Functionality / Service / Endpoint would you like to add?
creating a customer

Describe this Functionality / Service / Endpoint
A clear and concise description of what you want to add.

Duplicate prevention
Have you checked that this issue has not been opened by anyone else?

Describe how to intend to go about adding this feature
Describe the approach you will take in adding this feature.

Slack username
@bilal

Additional context
Add any other context or screenshots about the feature request here.

If you're working on an endpoint

  • search the "swagger.yaml" file in the base dir for the enpoint you're working on, example: /store/update/{storeId}

  • then uncomment the section of the file under that endpoint

  • now change operationId of that endpoint to the full qualifier for your function,

    example: operationId: "updateStore" ==> operationId: endpoints.store.update

    where "update" is the function, "store" is the file (store.py) and "endpoints" is the directory containing that file

OR

if you haven't worked with swagger specifications before and are confused by this,

  • open the issue you want to work on

  • comment on the issue with the name of the function, the name of the script you'll open, and the full path relative to the base directory that it'll live

  • when I approve/assign the issue to you, I'll comment with
    the input your function must take and
    the expected output

I will work on this ! What are the required parameters to creating a customer?
Firstname, lastname, businessname, shop address, phone number! Is that all?

You can check from customer model btw I have created PR for this

iameo commented

PR #103

Closed by #103