Ecommerce
  1. Recipes
Ecommerce
  • Start your Apidog journey
  • Sample APIs
    • Find pet by ID
    • Add a new pet to the store
    • Update an existing pet
    • Deletes a pet
    • Finds Pets by status
  • Users
    • profile
      • me
    • auth
      • login
      • login google by using firebase auth
      • login google
      • callback google
      • forgotPasswordByCode
      • verify Code
      • profile
      • forgotPassword
      • register
      • send-otp
      • verify otp
      • guard
    • Roles
      • get all roles
      • get roles
    • Capabilities
      • get all capabilities
  • Ecommerce
    • Profile
      • Web Create guest profile
      • Web Update my Profile
      • Web Get my Profile
    • Features Group
      • Get all feature groups
      • Get feature groups with pagination
      • Get feature group by id
      • Add feature group
      • Delete feature group
      • Update feature group
    • Features
      • Get all features
      • Get features with pagination
      • Get feature by id
      • Add feature
      • Delete feature
      • Update feature
    • Order
      • Get orders with pagination
      • Get upcoming shipping
      • Get recent activity
      • Get buyer recent activity
      • Get order by id
      • Add order
      • Update order
      • Update order status
      • Refend order
      • Cancel order
      • Delete order
      • Export orders
      • Untitled Endpoint
      • Untitled Endpoint Copy
    • Order web
      • Get my orders
      • Pay order
    • Appointment
      • Request Translation
      • Reschedule Appointment
      • Create Appointment
      • Update Partial
      • Get Appointments With Pagination
      • Get appointment by id
    • Quotation
      • Summary
        • Get quick summary
        • Get recent activity
        • Get most requested products
        • Get expiring quotations
        • Get buyer quotations reply insights
      • Shipping
        • Submit To Agent
        • Upsert Cost By From Agent
        • Upsert Cost By To Agent
        • Submit To Vendor
      • Create general quotation
      • Create quotation response
      • Create quotation request
      • Update quotation status
      • Add comment to quotation
      • Get quotation by id
      • Get open request quotations
      • Get my replies quotations
      • Get my requests
      • Get replies of a request quotation
      • Get general quotations
    • Plan
      • Get plans with pagination
      • Get Web All
      • Get All plans
      • Get plan by id
      • Add plan
      • Delete plan
      • Update plan
    • Addresses
      • Get Web Address All
      • Get Web addresses
      • Get Web address by id
      • Add Web Address
      • Delete Web Address
      • Bulk Web Delete Addresses
      • Update Web Address
    • Watch list Web
      • Get watch lists
      • Add to watch list
      • Delete from watch list
    • Dashboard Carts
      • Get Cart
      • Get cart by id
      • Create Cart
      • Delete cart
      • Update cart
    • Capabilities
      • Create Capabilities
    • Product
      • Production Line
        • Create Production Line
        • Get Production Line By Id
        • Get Production Line By Criteria
        • Update Production Line By Id
        • Delete Production Line By Id
        • Bulk Delete Production Lines
      • Attribute
        • Create Attribute
        • Get Attribute By Id
        • Get Attribute All
        • Get Attribute By Criteria
        • Update Attribute By Id
        • Delete Attribute By Id
        • Bulk Delete Attributes
      • Recipes
        • Get Web Recipes By Criteria
          GET
        • Get Web Recipes By Id
          GET
        • Create Recipe
          POST
        • Get Recipes By Id
          GET
        • Get Recipes All
          GET
        • Get Recipes By Criteria
          GET
        • Update Recipe By Id
          PUT
        • Delete Recipe By Id
          DELETE
        • Bulk Delete Recipes
          DELETE
      • Group
        • Create Group
        • Get Group By Id
        • Get Group All
        • Get Group By Criteria
        • Update Group By Id
        • Delete Group By Id
        • Bulk Delete Group
      • Review
        • Create Review
        • Get Review By Criteria
        • Update Review By product Id
        • Delete Review By Product Id
      • Branch
        • Create Branch
        • Update Branch By Id
        • Get Branch By Id
        • Get Branch All
        • Get Branchs with pagination
        • Delete Branch By Id
        • Bulk Delete Branches
        • Get Web Branch By Coordinates
        • Get All Web Branch With Pagination
        • Get All Web Branch
        • Import Branch Zones
        • Get Import Branch Zones Example
        • Get Branch Zones File
        • Import Branch Products
        • Get Import Branch Products Example
        • Get Branch Products File
      • Link To Branches
        • Get Link By Branch Id and Product Id
      • Addons
        • Get addons
        • Get addon by id
        • Add Addons
        • Delete addon
        • Bulk Delete addons
        • Update addon
        • Get Web addons
        • Get Web addons all
      • Get Web Product By Id
        GET
      • Get Web Product By Criteria
        GET
      • Create Product
        POST
      • Get Product By Id
        GET
      • Get Product By Criteria
        GET
      • Link Product By Id to Branches
        PUT
      • Update Product By Id
        PUT
      • Link Product By Id to Production Line
        PUT
      • Delete Product By Id
        DELETE
      • Delete Duplicated Products
        DELETE
    • Category
      • Get Web Category All
      • Create Category
      • Get Category By Id
      • Get Category All
      • Get Category By Criteria
      • Update Category By Id
      • Delete Category By Id
      • Bulk Delete Category
    • Unit
      • Create Unit
      • Get Unit By Id
      • Get Unit All
      • Get Unit By Criteria
      • Update Unit By Id
      • Delete Unit By Id
      • Bulk Unit Category
      • Get Web Unit All
      • Get Web Unit By Criteria
    • Contact
      • Shipping
        • Create Shipping
        • Get Shipping By Id
        • Get Shipping By Criteria
        • Update Shipping By Id
        • Delete Shipping By Id
        • Bulk Delete Shippings
      • Broker
        • Create Broker
        • Get Broker By Id
        • Get Broker By Criteria
        • Update Broker By Id
        • Delete Broker By Id
        • Bulk Delete Brokers
      • Agent
        • Create Agent
        • Get Agent By Id
        • Get Agent By Criteria
        • Update Agent By Id
        • Delete Agent By Id
        • Bulk Delete Agent
      • Customer
        • Create Customer
        • Get Customer By Id
        • Get Customer By Criteria
        • Update Customer By Id
        • Delete Customer By Id
        • Bulk Delete Customer
    • Payment
      • Invoice
        • Create Invoice
        • Get Invoice By Id
        • Get Invoice By Criteria
        • Update Invoice By Id
        • Delete Invoice By Id
        • Bulk Delete Invoice
      • Payout
        • Create Payout
        • Get Payout By Id
        • Get Payout By Criteria
        • Update Payout By Id
        • Delete Payout By Id
        • Bulk Delete Payout
      • Transaction
        • Create Transaction
        • Get Transaction By Id
        • Get Transaction By Criteria
        • Update Transaction By Id
        • Delete Transaction By Id
        • Bulk Delete Transaction
      • Create Payment
      • Get Payment By Id
      • Get Payment By Criteria
      • Update Payment By Id
      • Delete Payment By Id
      • Bulk Delete Payment
    • Setup
      • Create Capabilities
      • Upsert Seed
      • Upsert System Seed
      • Truncate Seed
    • Config
      • Currency
        • Get All currencies
        • Get currencies with pagination
        • Get currency by id
      • Location
        • Country
          • Get All Seed Countries
          • Get All Countries
          • Get All locations
          • Get Countries with pagination
          • Get Country by id
          • Create country
          • Update country
          • Delete country
        • City
          • Get All Seed Cities
          • Get All Cities
          • Get Cities with pagination
          • Get City by id
          • Create city
          • Update city
          • Delete cityId
        • Area
          • Get All Seed Areas
          • Get All Areas
          • Get Areas with pagination
          • Get Area by id
          • Create Area
          • Update Area
          • Delete Area
        • Zone
          • Get All Zones
          • Get Zones with pagination
          • Get Zone by id
          • Create Zone
          • Update zone
          • Delete Zone
          • Find Zones Containing Location
          • Find Zones Containing Point
        • Location Web
          • Get All Web Countries
          • Get All Web Cities
          • Get All Web Areas
      • Ticket type
        • Get All Ticket Types
        • Get Ticket Types with pagination
        • Get Ticket Type by id
        • Create Ticket Type
        • Update Ticket Type
        • Delete Ticket Type
    • Settings
      • Sales Inventory
        • Get inventory settings
        • Update inventory settings
      • Sales Settings
        • Get sales settings
        • Update sales settings
      • General Settings
        • Get general settings
        • Update general settings
    • Cart
      • Clear Web Cart Item
      • Create Web Cart Item
      • Update Web Cart Item By Id
      • Get Web Cart Item Mine
    • Ticket
      • Get My Tickets
      • Get Ticket by Id
      • Get Ticket Summary
      • Create Ticket
      • Add comment
      • Update ticket
    • Coupon
      • Create Coupon
      • Get Coupons with Pagination
      • Get Coupon by Id
      • Update Coupon
      • Delete Coupon
      • Bulk Delete Coupon
      • Get Web Coupon Mine
      • Check Web Coupon Redeemption
      • Get Web Loyalty Mine
    • Checkout
      • Try Checkout
      • Checkout
    • Survey
      • Question
        • Create Question
        • Update Question
        • Get Questions with Pagination
        • Get Question by Id
        • Delete Question
        • Get Web Questions with Pagination
        • Get Web Questions All
      • Waiters
        • Get Web Waiters with Pagination
        • Get Web Waiters All
        • Create Waiter
        • Update Waiter
        • Get Waiters with Pagination
        • Delete Waiter
        • Get Waiter by Id
      • FeedBack
        • Create Web FeedBack
        • Get Feedbacks with Pagination
        • Delete Feedback
        • Get Feedback by Id
        • Export Feedback
    • Truncate Collection List
      DELETE
    • Fix Product Attributes
      PUT
  • Files
    • Upload File
  • Cache
    • delete cache
  • subscriptions
    GET
  • Untitled Endpoint
    POST
  1. Recipes

Create Recipe

POST
{{ecommercev2_url}}/recipes
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST '{{ecommercev2_url}}/recipes' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
    "name": {
        "en": "Branch"
    },
    "type": "select",
    "tag": "custom",
    "isFiltrable": false,
    "required": false,
    "multi": true,
    "isComparable": false,
    "visibility": false,
    "sortable": false,
    "selectionStyle": "carousel",
    "belongsTo": [
        "product"
    ],
    "groupId": "681882b677b0e2bdb405577f",
    "vendorId": "674ed2adc7ab4354ff309b51",
    "id": "68234a2a8172a05d5c672e10",
    "createdAt": "2025-05-13T13:33:30.768Z",
    "createdBy": "674ed2adc7ab4354ff309b51",
    "updatedAt": "2025-05-13T13:33:30.768Z",
    "updatedBy": "674ed2adc7ab4354ff309b51",
    "group": {
        "name": {
            "defaultTranslation": "gnvngv",
            "en": "gnvngv"
        },
        "code": "gnvngv_2",
        "id": "681882b677b0e2bdb405577f",
        "createdAt": "2025-05-05T09:19:50.084Z",
        "createdBy": "6812196790745133183931c1",
        "updatedAt": "2025-05-05T09:19:50.084Z",
        "updatedBy": "6812196790745133183931c1"
    },
    "refField": "branch"
}'
Response Response Example
{
    "id": "685bc0794c759193de48ae97",
    "createdAt": "2025-06-25T09:25:13.187Z",
    "createdBy": "667917cabd1516884a1af8fe",
    "updatedAt": "2025-06-25T09:25:13.187Z",
    "updatedBy": "667917cabd1516884a1af8fe",
    "name": {
        "ar": "دجاج مشوي مع الخضار",
        "defaultTranslation": "Grilled Chicken with Vegetables",
        "en": "Grilled Chicken with Vegetables"
    },
    "description": {
        "ar": "وصفة دجاج مشوي صحية ولذيذة مع الخضار الطازجة",
        "defaultTranslation": "A healthy and delicious grilled chicken recipe with fresh vegetables",
        "en": "A healthy and delicious grilled chicken recipe with fresh vegetables"
    },
    "howToCook": {
        "ar": "1. تتبيل الدجاج بالأعشاب\n2. الشوي لمدة 15 دقيقة\n3. إضافة الخضار والطبخ لمدة 10 دقائق إضافية",
        "defaultTranslation": "1. Season chicken with herbs\n2. Grill for 15 minutes\n3. Add vegetables and cook for 10 more minutes",
        "en": "1. Season chicken with herbs\n2. Grill for 15 minutes\n3. Add vegetables and cook for 10 more minutes"
    },
    "imagesHowToCook": [
        {
            "_id": "507f1f77bcf86cd799439020",
            "path": "https://cdn.example.com/cooking-steps/step1-seasoning.jpg",
            "variants": [
                "thumbnail",
                "medium",
                "large"
            ],
            "originalName": "chicken-seasoning-step.jpg"
        },
        {
            "_id": "507f1f77bcf86cd799439021",
            "path": "https://cdn.example.com/cooking-steps/step2-grilling.jpg"
        }
    ],
    "calories": 350,
    "cookingTime": 30,
    "difficultyLevel": "medium",
    "recipeType": "dinner",
    "ingredients": {
        "ar": "2 قطعة صدر دجاج، 1 فلفل رومي، 1 كوسة، زيت زيتون، أعشاب",
        "defaultTranslation": "2 chicken breasts, 1 bell pepper, 1 zucchini, olive oil, herbs",
        "en": "2 chicken breasts, 1 bell pepper, 1 zucchini, olive oil, herbs"
    },
    "productIds": [
        "6830cdcc2c67ec61cbbeab46"
    ],
    "images": [
        {
            "_id": "507f1f77bcf86cd799439022",
            "path": "https://cdn.example.com/recipes/grilled-chicken-main.jpg",
            "variants": [
                "thumbnail",
                "medium",
                "large",
                "hero"
            ],
            "originalName": "grilled-chicken-final-dish.jpg"
        }
    ],
    "isActive": false
}

Request

Authorization
API Key
Add parameter in header
x-access-token
Example:
x-access-token: ********************
or
Header Params
x-access-token
string 
required
Example:
{{admin-token}}
x-client
string 
required
Example:
{{client}}
accept-language
string 
required
Example:
{{acceptLanguage}}
Body Params application/json
name
object 
required
en
string 
required
ar
string 
required
description
object 
required
en
string 
required
ar
string 
required
howToCook
object 
required
en
string 
required
ar
string 
required
imagesHowToCook
array [object {4}] 
required
_id
string 
required
path
string 
required
variants
array[string]
optional
originalName
string 
optional
calories
integer 
required
cookingTime
integer 
required
difficultyLevel
string 
required
recipeType
string 
required
ingredients
object 
required
en
string 
required
ar
string 
required
productIds
array[string]
required
images
array [object {4}] 
required
_id
string 
optional
path
string 
optional
variants
array[string]
optional
originalName
string 
optional
Examples

Responses

🟢200OK
application/json
Body
id
string 
required
createdAt
string 
required
createdBy
string 
required
updatedAt
string 
required
updatedBy
string 
required
name
object 
required
ar
string 
required
defaultTranslation
string 
required
en
string 
required
description
object 
required
ar
string 
required
defaultTranslation
string 
required
en
string 
required
howToCook
object 
required
ar
string 
required
defaultTranslation
string 
required
en
string 
required
imagesHowToCook
array [object {4}] 
required
_id
string 
required
path
string 
required
variants
array[string]
optional
originalName
string 
optional
calories
integer 
required
cookingTime
integer 
required
difficultyLevel
string 
required
recipeType
string 
required
ingredients
object 
required
ar
string 
required
defaultTranslation
string 
required
en
string 
required
productIds
array[string]
required
images
array [object {4}] 
required
_id
string 
optional
path
string 
optional
variants
array[string]
optional
originalName
string 
optional
isActive
boolean 
required
Modified at 2025-06-25 09:25:39
Previous
Get Web Recipes By Id
Next
Get Recipes By Id
Built with